A023316 Primes that remain prime through 4 iterations of function f(x) = 5x + 8.
7, 43, 883, 2269, 2917, 7621, 15541, 15937, 36541, 38113, 54787, 60961, 67033, 71359, 77491, 79693, 82531, 84967, 112621, 129589, 176461, 185683, 192547, 239671, 248071, 267373, 271489, 271549, 310231, 316471, 340957, 343267, 350617, 382303
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(5*n+8) and IsPrime(25*n+48) and IsPrime(125*n+248) and IsPrime(625*n+1248)] // Vincenzo Librandi, Aug 04 2010
-
PARI
is(n)=isprime(n) && isprime(5*n+8) && isprime(25*n+48) && isprime(125*n+248) && isprime(625*n+1248) \\ Charles R Greathouse IV, Oct 08 2016
Formula
a(n) == 1 or 19 (mod 42) for n > 1. - John Cerkan, Oct 07 2016
Comments