|
|
A110068
|
|
Numbers n such that 10^(n-1) + pi(n) is the smallest n-digit prime.
|
|
2
|
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
In the Cramer model, the chance that there are no primes between 10^(n-1) and 10^(n-1) + pi(n) is 1 + o(1). The same heuristic suggests that there are infinitely many terms since the harmonic series diverges. [Charles R Greathouse IV, Nov 15 2010]
|
|
LINKS
|
|
|
PROG
|
(Python)
from sympy import nextprime, primepi
A110068_list = [n for n in range(1, 100) if nextprime(10**(n-1))-10**(n-1) == primepi(n)] # Chai Wah Wu, Apr 29 2018
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base,more
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|