OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
2^2 + 13 = 17 = prime(7), 2^2 + 13^2 = 173 = prime(40), 2 is first term.
MATHEMATICA
Select[Range[2000], AllTrue[#^2+{13, 13^2}, PrimeQ]&] (* The program uses the AllTrue function from Mathematica version 10 *) (* Harvey P. Dale, Sep 28 2015 *)
PROG
(PARI) isok(n) = isprime(n^2 + 13) && isprime(n^2 + 13^2); \\ Michel Marcus, Aug 27 2013
CROSSREFS
KEYWORD
nonn
AUTHOR
Eva-Maria Zschorn (e-m.zschorn(AT)zaschendorf.km3.de), Apr 30 2010
STATUS
approved