login
Primes of the form 7n^2 + 2.
1

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

%S 2,569,3089,14177,33329,86249,139169,190577,250049,266177,282809,

%T 335729,354377,434009,455177,476849,544889,568577,804449,833177,

%U 862409,1148177,1182449,1324577,1474769,1673849,1715177,1885529,2203049,2647577

%N Primes of the form 7n^2 + 2.

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

%t Select[Table[7n^2+2,{n,0,3000}],PrimeQ]

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

%K nonn,easy

%O 1,1

%A _Vincenzo Librandi_, Dec 03 2011