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.

A067258 Numbers n such that n, 2n+1, 3n+2, 4n+3, 5n+4 are primes.

Original entry on oeis.org

5, 89, 12899, 35999, 45569, 83579, 108359, 154769, 175349, 196769, 206009, 209039, 303029, 374009, 420419, 489179, 513239, 641549, 658349, 709589, 765749, 775949, 862769, 991079, 1018709, 1057019, 1265549, 1527629, 1609739, 1621079
Offset: 1

Views

Author

Benoit Cloitre, Feb 20 2002

Keywords

Comments

Except for 5, all terms == 29 (mod 30). - Robert Israel, May 28 2018

Crossrefs

Programs

  • Maple
    select(t -> andmap(isprime, [t,2*t+1,3*t+2,4*t+3,5*t+4]),
    [5, seq(i,i=29..2*10^6,30)]); # Robert Israel, May 28 2018
  • Mathematica
    a={};Do[p=Prime[n];If[PrimeQ[p*2+1]&&PrimeQ[p*3+2]&&PrimeQ[p*4+3]&&PrimeQ[p*5+4],AppendTo[a,p]],{n,1,10^5}];Print[a]; (* Vladimir Joseph Stephan Orlovsky, Apr 29 2008 *)

Extensions

More terms from Sascha Kurz, Mar 23 2002