OFFSET
1,1
COMMENTS
These are the only primes that are the sum of two primes squared. 11 = 3^2 + 2 is the only prime of the form p^2 + 2 because all primes greater than 3 can be written as p=6n-1 or p=6n+1, which allows p^2+2 to be factored. - T. D. Noe, May 18 2007
Infinite under the Bunyakovsky conjecture. - Charles R Greathouse IV, Jul 04 2011
All terms > 29 are congruent to 53 mod 120. - Zak Seidov, Nov 06 2013
LINKS
T. D. Noe, Table of n, a(n) for n = 1..1000
Yang Ji, Several special cases of a square problem, arXiv:2105.05250 [math.GM], 2021.
FORMULA
a(n) = A062324(n)^2 + 4. - Zak Seidov, Nov 06 2013
EXAMPLE
29 belongs to the sequence because it equals 5^2 + 4.
MATHEMATICA
Select[Prime[ # ]^2+4&/@Range[140], PrimeQ]
PROG
(PARI) forprime(p=2, 1e4, if(isprime(t=p^2+4), print1(t", "))) \\ Charles R Greathouse IV, Jul 04 2011
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
Edited by Dean Hickerson, Dec 10 2002
STATUS
approved