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