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.

A210683 Primes p such that p, p+60, p+120, p+180 are consecutive primes.

Original entry on oeis.org

253444777, 271386581, 286000489, 415893013, 475992773, 523294549, 620164949, 794689481, 838188877, 840725323, 846389227, 884106599, 884951807, 908725507, 941796223, 952288331, 971614151, 1002290693, 1003166771, 1006976797, 1053792359, 1097338313, 1163141201
Offset: 1

Views

Author

Zak Seidov, May 09 2012

Keywords

Comments

Subsequence of A089234 which itself is a subsequence of A126771:
a(1) = 253444777 = A089234(417) = A126771(81526),
a(36) = 1998782563 = A089234(5579) = A126771(788920).

Crossrefs

Analogous sequences (start of CPAP-4, with common difference in square brackets): A033451 [6], A033447 [12], A033448 [18], A052242 [24], A052243 [30], A058252 [36], A058323 [42], A067388 [48], A259224 [54].
Cf. A054800: union of all sequences of this type (start of CPAP-4).

Programs

  • PARI
    A210683(n, p=2, v=1, g=60, c, o)={forprime(q=p+1, , if(p+g!=p=q, next, q!=o+2*g, c=2, c++>3, v&& print1(o-g", "); n--||break); o=q-g); o-g} \\ Can be used as next(p)=A210683(1, p) to get the next term, e.g.:
    p=0; A210683_vec=vector(10,i,p=A210683(1,p)) \\ Will take a long time! - M. F. Hasler, Oct 26 2018