Repdigit

A d-repdigit is a number composed of repetition of a single digit (in a given base, generally taken as base 10 unless otherwise specified). For example, the beast number 666 is a (base-10) repdigit. The following table gives the first few 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.

Wolfram Web Resources

Mathematica »

The #1 tool for creating Demonstrations and anything technical.

Wolfram|Alpha »

Explore anything with the first computational knowledge engine.

Wolfram Demonstrations Project »

Explore thousands of free applications across science, mathematics, engineering, technology, business, art, finance, social sciences, and more.

Computerbasedmath.org »

Join the initiative for modernizing math education.

Online Integral Calculator »

Solve integrals with Wolfram|Alpha.

Step-by-step Solutions »

Walk through homework problems step-by-step from beginning to end. Hints help you try the next step on your own.

Wolfram Problem Generator »

Unlimited random practice problems and answers with built-in Step-by-step solutions. Practice online or make a printable study sheet.

Wolfram Education Portal »

Collection of teaching and learning tools built by Wolfram education experts: dynamic textbook, lesson plans, widgets, interactive Demonstrations, and more.

Wolfram Language »

Knowledge-based programming for everyone.