OFFSET
1,1
COMMENTS
This is a special case of the theorem that all prime numbers of the form 4k+1 can be expressed as the sum of two squares. Let p = a^2 + b^2 then a=4k+1 and b = 4m. From this it follows that p = 16(m^2 + k^2) + 8k + 1. When k=1 we have p = 16m^2 + 25. If we let j=16m then the arithmetic progression j*m + 25 has an infinite number of primes by Dirichlet's theorem.
Primes of the form 64*k^2 + 64*k + 41. - Vincenzo Librandi, Dec 11 2011
REFERENCES
H. Rademacher, Lectures on Elementary Number Theory, 1964, pp. 121-136.
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..5000
MATHEMATICA
Select[Table[16m^2 + 25, {m, 1, 201, 2}], PrimeQ] (* Harvey P. Dale, Jan 24 2011 *)
Select[Table[64n^2+64n+41, {n, 0, 4000}], PrimeQ] (* Vincenzo Librandi, Dec 11 2011 *)
PROG
(PARI) fourmp1(m, k=1) = { forstep(x=1, m, 2, y=16*(x^2+k^2)+8*k+1; if(isprime(y), print1(y", ")) ) }
(Magma) [a: n in [0..100] | IsPrime(a) where a is 64*n^2+64*n+41]; // Vincenzo Librandi, Dec 11 2011
(GAP) Filtered(List([1, 3..201], m->16*m^2+25), IsPrime); # Muniru A Asiru, Nov 24 2018
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Cino Hilliard, Oct 09 2003
STATUS
approved