login
A069100
n-th n-digit prime number.
4
2, 13, 107, 1021, 10061, 100069, 1000117, 10000189, 100000193, 1000000181, 10000000259, 100000000193, 1000000000303, 10000000000411, 100000000000487, 1000000000000513, 10000000000000931, 100000000000000591, 1000000000000000861, 10000000000000000667
OFFSET
1,1
LINKS
Eduard Roure Perdices, Table of n, a(n) for n = 1..1000
MATHEMATICA
a[n_] := NextPrime[10^(n - 1), n]; (* Eduard Roure Perdices, May 17 2021 *)
PROG
(PARI) a(n)=prime(primepi(10^(n-1))+n) \\ Franklin T. Adams-Watters, Mar 07 2014
(Python)
from sympy import nextprime
def a(n): return nextprime(10**(n-1), ith=n)
print([a(n) for n in range(1, 21)]) # Michael S. Branicky, Jun 16 2021
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Darrell Minor, Apr 05 2002
EXTENSIONS
More terms from Vladeta Jovovic, Apr 07 2002
Extended by Eduard Roure Perdices, May 17 2021
STATUS
approved