login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A023316
Primes that remain prime through 4 iterations of function f(x) = 5x + 8.
2
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,1
COMMENTS
Primes p such that 5*p+8, 25*p+48, 125*p+248 and 625*p+1248 are also primes. - Vincenzo Librandi, Aug 04 2010
FORMULA
a(n) == 1 or 19 (mod 42) for n > 1. - John Cerkan, Oct 07 2016
PROG
(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
CROSSREFS
Subsequence of A023220, A023255, A023286, and A111225.
Sequence in context: A195230 A316635 A222981 * A289737 A065786 A015463
KEYWORD
nonn
STATUS
approved