%I #18 Sep 08 2022 08:45:34
%S 167,263,503,743,887,1223,1487,1583,1823,1847,2063,2087,2207,2543,
%T 2903,3167,3407,3527,3863,4127,4463,4583,4703,4967,5783,5807,5903,
%U 6047,6287,6863,7103,7127,7487,7607,7823,8087,8423,8447,8543,8663
%N Primes of the form 8x^2+8xy+167y^2.
%C Discriminant = -5280. See A139827 for more information.
%C Also primes of the forms 32x^2+16xy+167y^2 and 32x^2+24xy+87y^2. See A140633. - _T. D. Noe_, May 19 2008
%H Vincenzo Librandi and Ray Chandler, <a href="/A140003/b140003.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 {167, 263, 503, 527, 623, 743, 767, 887, 1007, 1223} (mod 1320).
%t QuadPrimes2[8, -8, 167, 10000] (* see A106856 *)
%o (Magma) [p: p in PrimesUpTo(12000) | p mod 1320 in [167, 263, 503, 527, 623, 743, 767, 887, 1007, 1223]]; // _Vincenzo Librandi_, Aug 04 2012
%K nonn,easy
%O 1,1
%A _T. D. Noe_, May 02 2008
|