A023305 Primes that remain prime through 4 iterations of function f(x) = 2x + 7.
293, 2063, 4583, 9203, 14723, 20123, 25733, 29453, 40253, 54713, 76103, 97523, 99833, 109433, 138683, 149993, 158243, 196853, 199403, 218873, 253103, 297623, 379913, 416963, 445463, 468113, 508073, 551963, 562403, 564713, 574703, 583733
Offset: 1
Keywords
Links
- John Cerkan, Table of n, a(n) for n = 1..10000
Programs
-
Magma
[n: n in [1..1000000] | IsPrime(n) and IsPrime(2*n+7) and IsPrime(4*n+21) and IsPrime(8*n+49) and IsPrime(16*n+105)] // Vincenzo Librandi, Aug 04 2010
-
Mathematica
rp4Q[n_]:=AllTrue[Rest[NestList[2#+7&,n,4]],PrimeQ]; Select[Prime[Range[ 50000]],rp4Q] (* The program uses the AllTrue function from Mathematica version 10 *) (* Harvey P. Dale, Mar 30 2020 *)
Formula
a(n) == 3 (mod 10). - John Cerkan, Oct 04 2016
Comments