OFFSET
1,2
COMMENTS
36*k^2 + 36*k + 13 = (6*k+3)^2 + 4, which is 4 more than a square.
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
EXAMPLE
a(2)=4 since 36*4^2 + 36*4 + 13 = 733, which is prime (as well as being four more than a square).
MATHEMATICA
Select[Range[0, 700], PrimeQ[36#^2+36#+13]&] (* Vincenzo Librandi, Jul 14 2012 *)
PROG
(Magma) [n: n in [0..70]| IsPrime(36*n^2+36*n+13)]; // Vincenzo Librandi, Jul 14 2012
(PARI) is(n)=isprime(36*n^2+36*n+13) \\ Charles R Greathouse IV, Mar 01 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Henry Bottomley, Jul 07 2000
STATUS
approved