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.

A259224 Initial primes in sets of 4 consecutive primes with common gap 54.

Original entry on oeis.org

400948369, 473838319, 583946599, 678953059, 816604199, 972598819, 1136526949, 1466715139, 1475790529, 1499794999, 1502149559, 1610895679, 1643313869, 1673057219, 1686181579, 1845792019, 1867046639, 1907478889, 1992202439, 2011077869, 2030490479, 2207714969
Offset: 1

Views

Author

Zak Seidov, Jun 21 2015

Keywords

Comments

All terms are == {19,29} mod 30.

Crossrefs

Start of CPAP-4 with given common difference (in square brackets): A033451 [6], A033447 [12], A033448 [18], A052242 [24], A052243 [30], A058252 [36], A058323 [42], A067388 [48], A259224 [this: 54], A210683 [60].
Subsequence of A054800: start of a CPAP-4 with arbitrary common difference.

Programs

  • PARI
    A259224(n, p=2, v=1, g=54, 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)=A259224(1,p+1) to get the next term, e.g.:
    p=0; A259224_vec=vector(10,i,p=A259224(1,p+1)) \\ Will be slow! - M. F. Hasler, Oct 26 2018