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”).

A023263
Primes that remain prime through 2 iterations of function f(x) = 8x + 7.
4
2, 5, 107, 137, 179, 197, 227, 359, 419, 617, 659, 839, 977, 1097, 1217, 1409, 1487, 1559, 1637, 2087, 2339, 2447, 2549, 2609, 2687, 2909, 2957, 3167, 3299, 3467, 3719, 4139, 4409, 4787, 4919, 4937, 5147, 5189, 5279, 5639, 6047, 6269, 7229, 7547, 7949
OFFSET
1,1
COMMENTS
Primes p such that 8*p+7 and 64*p+63 are also primes. - Vincenzo Librandi, Aug 04 2010
LINKS
MATHEMATICA
Select[Prime[Range[1100]], And@@PrimeQ[NestList[8#+7&, #, 2]]&] (* Harvey P. Dale, Jul 22 2013 *)
PROG
(Magma) [n: n in [1..100000] | IsPrime(n) and IsPrime(8*n+7)and IsPrime(64*n+63)] // Vincenzo Librandi, Aug 04 2010
CROSSREFS
Sequence in context: A237267 A266284 A215572 * A070855 A228850 A041237
KEYWORD
nonn
STATUS
approved