%I #16 Sep 08 2022 08:45:34
%S 7,37,127,277,373,463,487,613,757,823,877,967,1087,1093,1117,1213,
%T 1303,1327,1423,1453,1597,1663,1933,2053,2143,2293,2437,2503,2557,
%U 2647,2767,2797,3343,3607,3613,3637,3733,3823,3847,3943,4327,4447
%N Primes of the form 7x^2+30y^2.
%C Discriminant=-840. See A139827 for more information.
%H Vincenzo Librandi and Ray Chandler, <a href="/A139891/b139891.txt">Table of n, a(n) for n = 1..10000</a> [First 1000 terms from Vincenzo Librandi]
%H N. J. A. Sloane et al., <a href="https://oeis.org/wiki/Binary_Quadratic_Forms_and_OEIS">Binary Quadratic Forms and OEIS</a> (Index to related sequences, programs, references)
%F The primes are congruent to {7, 37, 127, 247, 253, 277, 373, 463, 487, 583, 613, 757, 823} (mod 840).
%t QuadPrimes2[7, 0, 30, 10000] (* see A106856 *)
%o (Magma) [ p: p in PrimesUpTo(5000) | p mod 840 in {7, 37, 127, 247, 253, 277, 373, 463, 487, 583, 613, 757, 823}]; // _Vincenzo Librandi_, Jul 30 2012
%K nonn,easy
%O 1,1
%A _T. D. Noe_, May 02 2008
|