login
A156829
a(1) = 2. a(n) = the smallest prime >= a(n-1) + 6.
2
2, 11, 17, 23, 29, 37, 43, 53, 59, 67, 73, 79, 89, 97, 103, 109, 127, 137, 149, 157, 163, 173, 179, 191, 197, 211, 223, 229, 239, 251, 257, 263, 269, 277, 283, 293, 307, 313, 331, 337, 347, 353, 359, 367, 373, 379, 389, 397, 409, 419, 431, 439, 449, 457, 463
OFFSET
1,1
MAPLE
p := 2: for n from 1 to 1000 do printf("%d, ", p) ; p := nextprime(p+5) ; od: # R. J. Mathar, Feb 22 2009
MATHEMATICA
NestList[NextPrime[# + 5] &, 2, 45] (* Zak Seidov, Feb 08 2015 *)
CROSSREFS
Cf. A156828.
Sequence in context: A018420 A253474 A133410 * A255609 A105840 A243960
KEYWORD
nonn
AUTHOR
Leroy Quet, Feb 16 2009
EXTENSIONS
More terms from R. J. Mathar, Feb 22 2009
STATUS
approved