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.

A153065 Prime numbers such that the sum of any 5 consecutive terms is a prime.

Original entry on oeis.org

3, 5, 11, 19, 23, 31, 43, 47, 53, 59, 61, 73, 101, 103, 149, 151, 157, 167, 173, 179, 181, 211, 223, 227, 251, 269, 307, 313, 331, 347, 359, 373, 379, 389, 401, 409, 419, 421, 431, 433, 439, 479, 487, 503, 509, 571, 577, 593, 601, 659, 691, 709, 773, 811, 839
Offset: 1

Views

Author

Keywords

Programs

  • Mathematica
    a=3;b=5;c=11;d=19;lst={a,b,c,d};Do[z=a+b+c+d+n;If[PrimeQ[z]&&n>b&&PrimeQ[n],AppendTo[lst,n];a=b;b=c;c=d;d=n],{n,0,8!}];lst