# 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 . 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.

Title repunit Repunit 2013-03-22 16:13:26 2013-03-22 16:13:26 PrimeFan (13766) PrimeFan (13766) 5 PrimeFan (13766) Definition msc 11A63 repunit prime