OFFSET
1,1
LINKS
N. Lygeros, G-test. [From Herman Jamke (hermanjamke(AT)fastmail.fm), Dec 06 2008]
MATHEMATICA
NestList[Prime[ # - 1] + 1 &, 2, 16] (* Robert G. Wilson v *)
PROG
(PARI) a(n)=if(n<2, 2, prime(a(n-1)-1)+1);
for(n=1, 10, print1(a(n), ", "));
CROSSREFS
KEYWORD
nonn
AUTHOR
Herman Jamke (hermanjamke(AT)fastmail.fm), Jul 13 2004
EXTENSIONS
a(19)-a(24) from Giovanni Resta, using terms of A007097, Apr 03 2019
STATUS
approved