OFFSET
1,1
COMMENTS
Suggested by Golomb's sequence A001462.
Terms are primes in nondecreasing order; a(n) gives length of n-th run.
It is understood that a(n) is taken to be the smallest number >= a(n-1) which is compatible with the description.
LINKS
Ivan Neretin, Table of n, a(n) for n = 1..10000
MATHEMATICA
a = {2, 2}; Do[a = Join[a, Array[Prime[i]&, a[[i]]]], {i, 2, 12}]; a (* Ivan Neretin, Apr 03 2015 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, following a posting to the Sequence Fans mailing list by Eric Angelini, Apr 13 2010
STATUS
approved