login
A156611
a(1) = 2, a(n+1) is smallest prime >= a(n)+2*n.
1
2, 5, 11, 17, 29, 41, 53, 67, 83, 101, 127, 149, 173, 199, 227, 257, 293, 331, 367, 409, 449, 491, 541, 587, 641, 691, 743, 797, 853, 911, 971, 1033, 1097, 1163, 1231, 1301, 1373, 1447, 1523, 1601, 1693, 1777, 1861, 1949, 2039, 2129, 2221, 2333, 2437, 2539, 2647, 2749, 2857, 2963, 3079, 3191, 3307, 3433, 3557, 3677
OFFSET
1,1
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
EXAMPLE
2, 5(>4=2+2*1), 11(>9=5+2*2), 17(>16=11+2*3), 29(>26+17+2*4), 41(>39=29+2*5), 53(=53=41+2*6), 67(=67=53+2*7), 83(=83=67+2*8), 101(=101=83+2*9), etc.
PROG
(PARI) a=vector(10000); a[1]=2; for(n=1, #a-1, a[n+1]=nextprime(a[n]+2*n)) \\ Charles R Greathouse IV, May 26 2011
CROSSREFS
Cf. A007918.
Sequence in context: A007491 A124850 A156850 * A143509 A111166 A064337
KEYWORD
nonn
AUTHOR
EXTENSIONS
a(42) corrected by Charles R Greathouse IV, May 26 2011
STATUS
approved