Repunit prime | |
Terms Number: | 11 |
Con Number: | Infinite |
First Terms: | 11, 1111111111111111111, 11111111111111111111111 |
Largest Known Term: | (108177207−1)/9 |
Oeis: | A004022 |
Oeis Name: | Primes of the form (10^n − 1)/9 |
In recreational mathematics, a repunit is a number like 11, 111, or 1111 that contains only the digit 1 - a more specific type of repdigit. The term stands for "repeated unit" and was coined in 1966 by Albert H. Beiler in his book Recreations in the Theory of Numbers.
A repunit prime is a repunit that is also a prime number. Primes that are repunits in base-2 are Mersenne primes. As of May 2023, the largest known prime number, the largest probable prime R8177207 and the largest elliptic curve primality-proven prime R86453 are all repunits in various bases.
The base-b repunits are defined as (this b can be either positive or negative)
(b) | |
R | |
n |
\equiv1+b+b2+ … +bn-1={bn-1\over{b-1}} for|b|\ge2,n\ge1.
(b) | |
R | |
1 |
={b-1\over{b-1}}=1 and
(b) | |
R | |
2 |
={b2-1\over{b-1}}=b+1 for |b|\ge2.
In particular, the decimal (base-10) repunits that are often referred to as simply repunits are defined as
Rn\equiv
(10) | |
R | |
n |
={10n-1\over{10-1}}={10n-1\over9} forn\ge1.
1, 11, 111, 1111, 11111, 111111, ... .
Similarly, the repunits base-2 are defined as
(2) | |
R | |
n |
={2n-1\over{2-1}}={2n-1} forn\ge1.
1, 3, 7, 15, 31, 63, 127, 255, 511, 1023, 2047, 4095, 8191, 16383, 32767, 65535, ... .
R35(b) = = × 1 = × 1,
since 35 = 7 × 5 = 5 × 7. This repunit factorization does not depend on the base-b in which the repunit is expressed.
Only repunits (in any base) having a prime number of digits can be prime. This is a necessary but not sufficient condition. For example,
R11(2) = 211 − 1 = 2047 = 23 × 89.
(Prime factors colored means "new factors", i. e. the prime factor divides Rn but does not divide Rk for all k < n) [1]
|
|
|
Smallest prime factor of Rn for n > 1 are
11, 3, 11, 41, 3, 239, 11, 3, 11, 21649, 3, 53, 11, 3, 11, 2071723, 3, 1111111111111111111, 11, 3, 11, 11111111111111111111111, 3, 41, 11, 3, 11, 3191, 3, 2791, 11, 3, 11, 41, 3, 2028119, 11, 3, 11, 83, 3, 173, 11, 3, 11, 35121409, 3, 239, 11, ...
See main article: List of repunit primes.
The definition of repunits was motivated by recreational mathematicians looking for prime factors of such numbers.
It is easy to show that if n is divisible by a, then Rn(b) is divisible by Ra(b):
(b) | ||
R | = | |
n |
1 | |
b-1 |
\prodd|n\Phid(b),
where
\Phid(x)
dth
\Phip(x)=\sum
p-1 | |
i=0 |
xi,
which has the expected form of a repunit when x is substituted with b.
For example, 9 is divisible by 3, and thus R9 is divisible by R3 - in fact, 111111111 = 111 · 1001001. The corresponding cyclotomic polynomials
\Phi3(x)
\Phi9(x)
x2+x+1
x6+x3+1
Rn is prime for n = 2, 19, 23, 317, 1031, 49081, 86453 ... (sequence A004023 in OEIS). On April 3, 2007 Harvey Dubner (who also found R49081) announced that R109297 is a probable prime.[2] On July 15, 2007, Maksym Voznyy announced R270343 to be probably prime.[3] Serge Batalov and Ryan Propper found R5794777 and R8177207 to be probable primes on April 20 and May 8, 2021, respectively.[4] As of their discovery each was the largest known probable prime. On March 22, 2022 probable prime R49081 was eventually proven to be a prime.[5] On May 15, 2023 probable prime R86453 was eventually proven to be a prime.[6]
It has been conjectured that there are infinitely many repunit primes[7] and they seem to occur roughly as often as the prime number theorem would predict: the exponent of the Nth repunit prime is generally around a fixed multiple of the exponent of the (N−1)th.
The prime repunits are a trivial subset of the permutable primes, i.e., primes that remain prime after any permutation of their digits.
Particular properties are
If b is a perfect power (can be written as mn, with m, n integers, n > 1) differs from 1, then there is at most one repunit in base-b. If n is a prime power (can be written as pr, with p prime, r integer, p, r >0), then all repunit in base-b are not prime aside from Rp and R2. Rp can be either prime or composite, the former examples, b = −216, −128, 4, 8, 16, 27, 36, 100, 128, 256, etc., the latter examples, b = −243, −125, −64, −32, −27, −8, 9, 25, 32, 49, 81, 121, 125, 144, 169, 196, 216, 225, 243, 289, etc., and R2 can be prime (when p differs from 2) only if b is negative, a power of −2, for example, b = −8, −32, −128, −8192, etc., in fact, the R2 can also be composite, for example, b = −512, −2048, −32768, etc. If n is not a prime power, then no base-b repunit prime exists, for example, b = 64, 729 (with n = 6), b = 1024 (with n = 10), and b = −1 or 0 (with n any natural number). Another special situation is b = −4k4, with k positive integer, which has the aurifeuillean factorization, for example, b = −4 (with k = 1, then R2 and R3 are primes), and b = −64, −324, −1024, −2500, −5184, ... (with k = 2, 3, 4, 5, 6, ...), then no base-b repunit prime exists. It is also conjectured that when b is neither a perfect power nor −4k4 with k positive integer, then there are infinity many base-b repunit primes.
A conjecture related to the generalized repunit primes:[8] [9] (the conjecture predicts where is the next generalized Mersenne prime, if the conjecture is true, then there are infinitely many repunit primes for all bases
b
For any integer
b
|b|>1
b
b
r
n
bn-1 | |
b-1 |
n
r
r
b
-4k4
has generalized repunit primes of the form
R | ||||
|
for prime
p
Y=G ⋅ log|b|\left(log|b|\left(R(b)(n)\right)\right)+C,
where limit
n → infty
G= | 1 |
e\gamma |
=0.561459483566...
and there are about
\left(loge(N)+m ⋅ loge(2) ⋅ loge(loge(N)) +
1 | |
\sqrtN |
-\delta\right) ⋅
e\gamma | |
loge(|b|) |
base-b repunit primes less than N.
e
\gamma
log|b|
|b|
R(b)(n)
n
C
b
\delta=1
b>0
\delta=1.6
b<0
m
-b
2m-1
We also have the following 3 properties:
bn-1 | |
b-1 |
p
n
e\gamma ⋅ log|b|(log|b|(n))
bn-1 | |
b-1 |
p
n
|b| ⋅ n
e\gamma
bn-1 | |
b-1 |
p
e\gamma | |
p ⋅ loge(|b|) |
Although they were not then known by that name, repunits in base-10 were studied by many mathematicians during the nineteenth century in an effort to work out and predict the cyclic patterns of repeating decimals.
It was found very early on that for any prime p greater than 5, the period of the decimal expansion of 1/p is equal to the length of the smallest repunit number that is divisible by p. Tables of the period of reciprocal of primes up to 60,000 had been published by 1860 and permitted the factorization by such mathematicians as Reuschle of all repunits up to R16 and many larger ones. By 1880, even R17 to R36 had been factored and it is curious that, though Édouard Lucas showed no prime below three million had period nineteen, there was no attempt to test any repunit for primality until early in the twentieth century. The American mathematician Oscar Hoppe proved R19 to be prime in 1916 and Lehmer and Kraitchik independently found R23 to be prime in 1929.
Further advances in the study of repunits did not occur until the 1960s, when computers allowed many new factors of repunits to be found and the gaps in earlier tables of prime periods corrected. R317 was found to be a probable prime circa 1966 and was proved prime eleven years later, when R1031 was shown to be the only further possible prime repunit with fewer than ten thousand digits. It was proven prime in 1986, but searches for further prime repunits in the following decade consistently failed. However, there was a major side-development in the field of generalized repunits, which produced a large number of new primes and probable primes.
Since 1999, four further probably prime repunits have been found, but it is unlikely that any of them will be proven prime in the foreseeable future because of their huge size.
The Cunningham project endeavours to document the integer factorizations of (among other numbers) the repunits to base 2, 3, 5, 6, 7, 10, 11, and 12.
D. R. Kaprekar has defined Demlo numbers as concatenation of a left, middle and right part, where the left and right part must be of the same length (up to a possible leading zero to the left) and must add up to a repdigit number, and the middle part may contain any additional number of this repeated digit.[10] They are named after Demlo railway station (now called Dombivili) 30 miles from Bombay on the then G.I.P. Railway, where Kaprekar started investigating them.He calls Wonderful Demlo numbers those of the form 1, 121, 12321, 1234321, ..., 12345678987654321. The fact that these are the squares of the repunits has led some authors to call Demlo numbers the infinite sequence of these, 1, 121, 12321, ..., 12345678987654321, 1234567900987654321, 123456790120987654321, ...,, although one can check these are not Demlo numbers for p = 10, 19, 28, ...
b=-2