OFFSET
1,1
COMMENTS
First differences b(n=1,2,..)={3, 6, 8, 10, 12, 18, 20, 18, 30, 22, 24, 26, 28, 30, 36, 38, 36, 42, 40, 42, 50, 46, 54}; b(n)>2n, and b(n)-2n = {1, 2, 2, 2, 2, 6, 6, 2, 12, 2, 2, 2, 2, 2, 6, 6, 2, 6, 2, 2, 8, 2, 8}.
LINKS
Zak Seidov, Table of n, a(n) for n = 1..1000
MATHEMATICA
a=2; s={a}; k=2; m=100; Do[AppendTo[s, a=NextPrime[a+k]]; k=k+2, {m-1}]; s (* Zak Seidov, Aug 23 2012 *)
RecurrenceTable[{a[1]==2, a[n]==NextPrime[a[n-1]+2(n-1)]}, a, {n, 50}] (* Harvey P. Dale, Oct 09 2013 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Zak Seidov, Aug 23 2012
STATUS
approved