login
primes of the form 5n^2 + 4.
2

%I #6 Sep 08 2022 08:46:01

%S 409,1129,5449,13009,16249,49009,61609,68449,91129,99409,167449,

%T 178609,190129,356449,477409,534649,595129,680809,748849,796009,

%U 820129,844609,920209,972409,999049,1225129,1315849,1378129,1441849,1607449

%N primes of the form 5n^2 + 4.

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

%t Select[Table[5n^2+4,{n,0,2000}],PrimeQ]

%o (Magma) [a: n in [0..700] | IsPrime(a) where a is 5*n^2+4];

%K nonn,easy

%O 1,1

%A _Vincenzo Librandi_, Dec 02 2011