%I #20 Sep 08 2022 08:45:34
%S 13,61,157,181,229,349,397,661,733,829,853,997,1021,1069,1237,1669,
%T 1693,1741,1861,2029,2341,2677,2749,2917,3037,3181,3253,3373,3517,
%U 3541,3709,3853,3877,4021,4093,4261,4357,4549,4597,4861,4933,5101
%N Primes of the form 13x^2+2xy+13y^2.
%C Discriminant=-672. See A139827 for more information.
%C Also primes of the forms 13x^2+4xy+52y^2 and 13x^2+8xy+40y^2. See A140633. - _T. D. Noe_, May 19 2008
%H Vincenzo Librandi and Ray Chandler, <a href="/A139880/b139880.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 {13, 61, 157} (mod 168).
%t Union[QuadPrimes2[13, 2, 13, 10000], QuadPrimes2[13, -2, 13, 10000]] (* see A106856 *)
%o (Magma) [ p: p in PrimesUpTo(6000) | p mod 168 in {13, 61, 157}]; // _Vincenzo Librandi_, Jul 30 2012
%K nonn,easy
%O 1,1
%A _T. D. Noe_, May 02 2008
|