login
A059784
a(n+1) = nextprime(a(n)^2). Smallest prime following the square of previous prime. Initial value = 2.
3
2, 5, 29, 853, 727613, 529420677791, 280286254072681840639693, 78560384222095957698731679318817728959447134363
OFFSET
1,1
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..12
Kaisa Matomäki, Prime-representing functions, Acta Math. Hungar. 128 (2010), pp. 307-314.
FORMULA
a(n) = floor[1.5246999605380943599233635756884211622202236231...^(2^n)], similar to Mills Primes A051254. - Henry Bottomley, Oct 19 2003
MATHEMATICA
p=2; lst={p}; Do[p=NextPrime[p*p]; AppendTo[lst, p], {n, 8}]; lst (* Vladimir Joseph Stephan Orlovsky, May 27 2009 *)
NestList[NextPrime[#^2] &, 2, 7] (* Michael De Vlieger, Nov 02 2017 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Labos Elemer, Feb 22 2001
EXTENSIONS
Changed offset to 1 to parallel other such sequences. - Robert G. Wilson v, Nov 15 2012
STATUS
approved