OFFSET
0,1
COMMENTS
A variant with offset 1 is 2, 5, 11, 17, ... which agrees with this sequence for n > 1.
LINKS
Paolo Xausa, Table of n, a(n) for n = 0..10000
EXAMPLE
a(6) is the least prime >= a(5) + 6 = 23 + 6 = 29, hence a(6) = 29.
MATHEMATICA
A093503list[nmax_]:=Module[{n=0}, NestList[NextPrime[#+n++]&, 2, nmax]]; A093503list[100] (* Paolo Xausa, Aug 29 2023 *)
PROG
(PARI) p=2; for(n=1, 53, print1(p, ", "); p=nextprime(p+n))
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Amarnath Murthy, Apr 17 2004
EXTENSIONS
Edited by Klaus Brockhaus, Apr 27 2004
STATUS
approved