login
A023261
Primes that remain prime through 2 iterations of function f(x) = 8x + 3.
2
5, 13, 31, 61, 101, 103, 163, 191, 233, 241, 251, 433, 461, 643, 751, 761, 821, 863, 983, 1021, 1153, 1193, 1283, 1291, 1531, 1543, 1861, 2281, 2543, 2903, 2953, 3271, 3373, 3673, 3701, 3733, 3793, 3923, 4003, 4241, 4283, 4751, 5333, 5581, 5711, 5801, 5813
OFFSET
1,1
COMMENTS
Primes p such that 8*p+3 and 64*p+27 are also primes. - Vincenzo Librandi, Aug 04 2010
FORMULA
a(n) = 1 or 3 (mod 10) for n > 1. - John Cerkan, Sep 14 2016
MATHEMATICA
Select[Prime[Range[800]], AllTrue[Rest[NestList[8#+3&, #, 2]], PrimeQ]&] (* The program uses the AllTrue function from Mathematica version 10 *) (* Harvey P. Dale, Aug 12 2017 *)
PROG
(Magma) [n: n in [1..100000] | IsPrime(n) and IsPrime(8*n+3) and IsPrime(64*n+27)] // Vincenzo Librandi, Aug 04 2010
CROSSREFS
Subsequence of A005124, A023229. - John Cerkan, Sep 14 2016
Sequence in context: A203246 A106985 A238742 * A165888 A021007 A109419
KEYWORD
nonn
STATUS
approved