A067258 Numbers n such that n, 2n+1, 3n+2, 4n+3, 5n+4 are primes.
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
Links
- Robert Israel, Table of n, a(n) for n = 1..10000
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
Comments