OFFSET
1,1
LINKS
B. Cloitre, N. J. A. Sloane and M. J. Vandermast, Numerical analogues of Aronson's sequence, J. Integer Seqs., Vol. 6 (2003), #03.2.2.
B. Cloitre, N. J. A. Sloane and M. J. Vandermast, Numerical analogues of Aronson's sequence (math.NT/0305308)
FORMULA
k-th segment (k>=1) consists of {p(k)} if k is a prime, otherwise {p(k-1)+1, ..., p(k)-1}; except that the first segment is empty, where p(m) = m-th prime.
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Mar 10 2003
EXTENSIONS
More terms from Matthew Vandermast, Mar 16 2003
STATUS
approved