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

A023260
Primes that remain prime through 2 iterations of function f(x) = 8x + 1.
3
2, 17, 101, 107, 401, 821, 947, 1151, 1487, 2027, 2207, 2411, 2741, 2927, 3851, 4391, 4691, 5231, 5861, 6701, 7001, 8297, 8807, 9341, 9587, 9851, 10067, 11117, 11447, 11897, 12107, 12911, 16187, 17657, 20681, 20771, 20807, 21221, 21227, 21491, 21521
OFFSET
1,1
COMMENTS
Primes p such that 8*p+1 and 64*p+9 are also primes. - Vincenzo Librandi, Aug 04 2010
LINKS
MATHEMATICA
Select[Prime[Range[2500]], And@@PrimeQ[Rest[NestList[8#+1&, #, 2]]]&] (* Harvey P. Dale, Jan 26 2013 *)
PROG
(Magma) [n: n in [1..100000] | IsPrime(n) and IsPrime(8*n+1) and IsPrime(64*n+9)] // Vincenzo Librandi, Aug 04 2010
CROSSREFS
Sequence in context: A129123 A109724 A127533 * A174365 A119363 A272065
KEYWORD
nonn
STATUS
approved