OFFSET
1,1
COMMENTS
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..10000
EXAMPLE
For k=4, 4k^2 + 1 = 17, a prime.
MATHEMATICA
Select[Table[4n^2+1, {n, 0, 800}], PrimeQ] (* Vincenzo Librandi, Dec 02 2011 *)
PROG
(PARI) for(x=1, 200, y=4*x^2+1; if(isprime(y), print1(y", ")))
(Magma) [a: n in [0..400] | IsPrime(a) where a is 4*n^2+1]; // Vincenzo Librandi, Dec 02 2011
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Cino Hilliard, Aug 26 2006
STATUS
approved