cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A156829 a(1) = 2. a(n) = the smallest prime >= a(n-1) + 6.

Original entry on oeis.org

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

Views

Author

Leroy Quet, Feb 16 2009

Keywords

Crossrefs

Cf. A156828.

Programs

  • 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 *)

Extensions

More terms from R. J. Mathar, Feb 22 2009