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

A174361
Primes p such that 2*p^2-+21 are also prime.
1
5, 13, 17, 19, 43, 71, 83, 97, 373, 383, 443, 541, 617, 787, 883, 1171, 1279, 1301, 1663, 1733, 1801, 1867, 1873, 2027, 2087, 2609, 2617, 2657, 2671, 2729, 2791, 2803, 2861, 2971, 3061, 3251, 3361, 3691, 3803, 3847, 4013, 4421, 4603, 4621, 4931, 5087
OFFSET
1,1
LINKS
EXAMPLE
For p=5, 2*5^2-+21=(29,71); p=13, 2*13^2-+21=(317,359).
MATHEMATICA
Select[Prime[Range[2, 1000]], PrimeQ[2 #^2 - 21]&&PrimeQ[2 #^2 + 21]&] (* Vincenzo Librandi, Apr 10 2013 *)
PROG
(Magma) [p: p in PrimesInInterval(3, 5100)|IsPrime(2*p^2-21) and IsPrime(2*p^2+21)];
CROSSREFS
Sequence in context: A103666 A082700 A212287 * A226165 A166409 A077425
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Mar 17 2010
STATUS
approved