A229092 First member of a prime 5-tuple in a p^2+p-1 progression.
3, 20963909, 45608209, 46939069, 57856709, 73805093, 83307563, 83983931, 89836889, 90151643, 95786459, 98527859, 98886679, 116260099, 118084559, 118955549, 153404593, 155710213, 190926341, 204854891, 221010899, 238175309, 271884073, 295874083, 299614369
Offset: 1
Keywords
Links
- Pierre CAMI, Table of n, a(n) for n = 1..62
Crossrefs
Cf. A057325
Programs
-
Mathematica
pqQ[p_]:=AllTrue[Rest[NestList[#^2+#-1&,p,4]],PrimeQ]; Select[Prime[ Range[ 16232600]],pqQ] (* Harvey P. Dale, Oct 16 2021 *)
-
PARI
is(n)=for(k=1,5,if(!isprime(n),return(0));n=n^2+n-1);1 \\ Charles R Greathouse IV, Sep 13 2013
Comments