In number theory, Mills' constant is defined as the smallest positive real number A such that the floor function of the double exponential function
\lfloor
3n | |
A |
\rfloor
is a prime number for all positive natural numbers n. This constant is named after William Harold Mills who proved in 1947 the existence of A based on results of Guido Hoheisel and Albert Ingham on the prime gaps. Its value is unproven, but if the Riemann hypothesis is true, it is approximately 1.3063778838630806904686144926... .
The primes generated by Mills' constant are known as Mills primes; if the Riemann hypothesis is true, the sequence begins
2,11,1361,2521008887,16022236204009818131831320183,
4113101149215104800030529537915953170486139623539759933135949994882770404074832568499,\ldots
If ai denotes the i th prime in this sequence, then ai can be calculated as the smallest prime number larger than
3 | |
a | |
i-1 |
3n | |
A |
ai<(ai-1+1)3
a1
For all a >
e34 | |
e |
a3
(a+1)3
As of April 2017, the 11th number in the sequence is the largest one that has been proved prime. It is
\displaystyle(((((((((23+3)3+30)3+6)3+80)3+12)3+450)3+894)3+3636)3+70756)3+97220
, the largest known Mills probable prime (under the Riemann hypothesis) is
\displaystyle(((((((((((((23+3)3+30)3+6)3+80)3+12)3+450)3+894)3+3636)3+70756)3+97220)3+66768)3+300840)3+1623568)3+8436308
By calculating the sequence of Mills primes, one can approximate Mills' constant as
A ≈
1/3n | |
a(n) |
.
There is nothing special about the middle exponent value of 3. It is possible to produce similar prime-generating functions for different middle exponent values. In fact, for any real number above 2.106..., it is possible to find a different constant A that will work with this middle exponent to always produce primes. Moreover, if Legendre's conjecture is true, the middle exponent can be replaced with value 2 .
Matomäki showed unconditionally (without assuming Legendre's conjecture) the existence of a (possibly large) constant A such that
\lfloor
2n | |
A |
\rfloor
Additionally, Tóth proved that the floor function in the formula could be replaced with the ceiling function, so that there exists a constant
B
\lceil
rn | |
B |
\rceil
is also prime-representing for
r>2.106\ldots
r=3
B
2,7,337,38272739,56062005704198360319209,176199995814327287356671209104585864397055039072110696028654438846269,\ldots
Without assuming the Riemann hypothesis, Elsholtz proved that
\lfloor
1010n | |
A |
\rfloor
A ≈ 1.00536773279814724017
\lfloor
313n | |
B |
\rfloor
B ≈ 3.8249998073439146171615551375