OFFSET
1,1
COMMENTS
By definition, p = 2 * q + 1 is prime and (p^2 + 163)/4 = q^2 + q + 41 is also prime.
LINKS
Pierre CAMI, Table of n, a(n) for n = 1..10000
FORMULA
EXAMPLE
29 is in the sequence because not only is 2 * 29 + 1 = 59 a prime, so is 29^2 + 29 + 41 = 911.
MATHEMATICA
Select[Prime[Range[500]], PrimeQ[2# + 1] && PrimeQ[#^2 + # + 41] &] (* Alonso del Arte, Aug 21 2012 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Pierre CAMI, Aug 21 2012
STATUS
approved