login
Primes of the form (4*k + 1)^2 + (4*k + 2)^2 where k=0,1,2,3,...
2

%I #12 Sep 08 2022 08:45:11

%S 5,61,181,613,1301,1741,8581,9661,14621,19013,23981,37813,44701,49613,

%T 68821,71821,94613,101701,105341,163021,167621,177013,244301,255613,

%U 273061,303421,335381,382813,456013,479221,511061,552301,595141,603901

%N Primes of the form (4*k + 1)^2 + (4*k + 2)^2 where k=0,1,2,3,...

%C Primes of the form 32*k^2 + 24*k + 5. - _Vincenzo Librandi_, Dec 11 2011

%H Vincenzo Librandi, <a href="/A087871/b087871.txt">Table of n, a(n) for n = 1..5000</a>

%t Select[Table[32n^2+24n+5,{n,0,800}],PrimeQ] (* _Vincenzo Librandi_, Dec 11 2011 *)

%o (PARI) fourmp1b(n) = { for(x=1,n, z=(4*x+1)^2+(4*x+2)^2; if(isprime(z),print1(z",")) ) }

%o (Magma) [a: n in [0..200] | IsPrime(a) where a is 32*n^2+24*n+5]; // _Vincenzo Librandi_, Dec 11 2011

%Y Cf. A088758.

%K nonn,easy

%O 1,1

%A _Cino Hilliard_, Oct 10 2003

%E More terms from _Ray Chandler_, Oct 19 2003

%E Corrected by _Vincenzo Librandi_, Dec 11 2011