OFFSET
1,1
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..1000
FORMULA
a(n) = 2 * A002970(n). - Michel Marcus, Jan 20 2015
MATHEMATICA
lst={}; Do[If[PrimeQ[n^2+9], AppendTo[lst, n]], {n, 600}]; lst (* Vladimir Joseph Stephan Orlovsky, Aug 26 2008 *)
Select[Range[2, 600, 2], PrimeQ[#^2+9]&] (* Harvey P. Dale, Feb 28 2023 *)
PROG
(PARI) is(n)=isprime(n^2+9) \\ Charles R Greathouse IV, Feb 17 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
Zak Seidov, Nov 19 2005
STATUS
approved