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

A175238
Primes p such that (p^2-6) and (p^2-8) are also prime.
1
5, 7, 17, 23, 53, 67, 367, 373, 383, 467, 487, 647, 773, 823, 1087, 1103, 1187, 1327, 1493, 1607, 1613, 1697, 1787, 2593, 2683, 2753, 2797, 2803, 2833, 2903, 3217, 4373, 4547, 4937, 5147, 5527, 5987, 6067, 6163, 6367, 6827, 7103, 7193, 7297, 8353, 8627
OFFSET
1,1
LINKS
EXAMPLE
For p=5,(19,17); p=7,(43,41); p=17,(283,281).
MATHEMATICA
Select[Prime[Range[1000]], And@@PrimeQ[#^2 + {-6, -8}]&] (* Vincenzo Librandi, Apr 10 2013 *)
PROG
(Magma) [p: p in PrimesUpTo(10000) | IsPrime(p^2-6) and IsPrime(p^2-8)]
CROSSREFS
Sequence in context: A265812 A128352 A025085 * A240030 A032412 A114970
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Mar 09 2010
STATUS
approved