## You are here

Homerepunit

## Primary tabs

# repunit

Given base $b$, a number of the form ${{b^{n}-1}\over{b-1}}$ for $n>0$ is written using using only the digit 1 in that base and is therefore a repunit. The term, short for ”repeated unit,” is credited to Beiler’s book Recreations in the theory of numbers, in chapter 11.

Regardless of base, a prime number is a prime number, but if in a given base it is a repunit, then it is called a repunit prime in that base. In binary, the Mersenne numbers are repunits, therefore the Mersenne primes are repunit primes in binary. Repunit primes in base 10 appear to be fewer, with only seven known as of 2006, for $n$ taking on the values 2, 19, 23, 317, 1031, 49081, 86453 (see Sloane’s OEIS, A004023, for updates).

In a trivial way, repunit primes are also palindromic primes and permutable primes.

## Mathematics Subject Classification

11A63*no label found*

- Forums
- Planetary Bugs
- HS/Secondary
- University/Tertiary
- Graduate/Advanced
- Industry/Practice
- Research Topics
- LaTeX help
- Math Comptetitions
- Math History
- Math Humor
- PlanetMath Comments
- PlanetMath System Updates and News
- PlanetMath help
- PlanetMath.ORG
- Strategic Communications Development
- The Math Pub
- Testing messages (ignore)

- Other useful stuff
- Corrections