|
| |
|
|
A058009
|
|
a(n) is obtained by applying the map k -> prime(k) n times, starting at n.
|
|
0
| |
|
|
2, 5, 31, 277, 5381, 87803, 2269733, 50728129, 1559861749, 64988430769, 2428095424619, 119543903707171, 5519908106212217
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 1,1
|
|
|
EXAMPLE
| a(3) is 31 because the third prime is 5, the fifth prime is 11 and for the 3rd interation, the eleventh prime is 31.
To get a(4): 4 -> 7 -> 17 -> 59 -> 277.
|
|
|
MATHEMATICA
| Table[ Nest[ Prime, n, n ], {n, 1, 11} ]
|
|
|
CROSSREFS
| Sequence in context: A119242 A068145 A032112 * A056187 A056790 A192397
Adjacent sequences: A058006 A058007 A058008 * A058010 A058011 A058012
|
|
|
KEYWORD
| nonn
|
|
|
AUTHOR
| Robert G. Wilson v (rgwv(AT)rgwv.com), Nov 13 2000
|
|
|
EXTENSIONS
| Edited by N. J. A. Sloane (njas(AT)research.att.com), Oct 30 2008 at the suggestion of R. J. Mathar
a(12)-a(13) from Donovan Johnson (donovan.johnson(AT)yahoo.com), Feb 17 2011
|
| |
|
|