login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A092922
a(1) = prime(1), a(2) = prime(prime( a(1) )), a(3) = prime(prime(prime( a(2) ))), a(4) = prime(prime(prime(prime( a(3) )))), etc.
0
2, 5, 127, 648391, 2428095424619, 75063692618249, 2586559730396077, 98552043847093519
OFFSET
1,1
MAPLE
ithprime(1); ithprime(ithprime(%)); ithprime(ithprime(ithprime(%))); ithprime(ithprime(ithprime(ithprime(%))));
MATHEMATICA
a[1] = 2; a[n_] := Nest[Prime, a[n - 1], n]; Table[ a[n], {n, 5}] (* Robert G. Wilson v, Dec 24 2004 *)
CROSSREFS
Cf. A007097, the primeth recurrence.
Sequence in context: A270588 A214648 A175978 * A093865 A139129 A139484
KEYWORD
nonn
AUTHOR
Jorge Coveiro, Apr 17 2004
EXTENSIONS
a(5) from Robert G. Wilson v, Dec 24 2004
a(6)-a(8) from Zak Seidov, Sep 04 2016
STATUS
approved