TOPICS
Search

Repdigit


A repdigit is a nonnegative integer whose representation in an integer base b>=2 consists of one or more copies of a single digit. Base 10 is assumed unless otherwise specified. For example, the beast number 666 is a (base-10) repdigit. The following table gives the first few positive repdigits in bases b=2 to 10.

bOEISb-repdigits
2A0002251, 3, 7, 15, 31, 63, 127, ...
3A0483281, 2, 4, 8, 13, 26, 40, 80, 121, ...
4A0483291, 2, 3, 5, 10, 15, 21, 42, 63, 85, 170, ...
5A0483301, 2, 3, 4, 6, 12, 18, 24, 31, 62, 93, 124, 156, ...
6A0483311, 2, 3, 4, 5, 7, 14, 21, 28, 35, 43, 86, 129, 172, ...
7A0483321, 2, 3, 4, 5, 6, 8, 16, 24, 32, 40, 48, 57, 114, 171, ...
8A0483331, 2, 3, 4, 5, 6, 7, 9, 18, 27, 36, 45, 54, 63, 73, 146, ...
9A0483341, 2, 3, 4, 5, 6, 7, 8, 10, 20, 30, 40, 50, 60, 70, 80, 91, 182, ...
10A0107851, 2, 3, 4, 5, 6, 7, 8, 9, 11, 22, 33, 44, 55, 66, 77, 88, 99, ...

If the digits of a repdigit are all 1s, it is known as a repunit.


See also

Beast Number, Keith Number, Repunit

Explore with Wolfram|Alpha

References

Sloane, N. J. A. Sequences A000225, A010785, A048328, A048329, A048330, A048331, A048332, A048333, and A048334 in "The On-Line Encyclopedia of Integer Sequences."

Referenced on Wolfram|Alpha

Repdigit

Cite this as:

Weisstein, Eric W. "Repdigit." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/Repdigit.html

Subject classifications