login
Primes of the form 29x^2+2xy+29y^2.
1

%I #17 Sep 08 2022 08:45:34

%S 29,149,389,701,821,1061,1229,1709,1901,2069,2381,2549,2741,2909,3221,

%T 3389,3581,4229,4349,4421,5021,5189,5261,5741,5861,6029,6101,6269,

%U 6581,6701,6869,7109,7541,7589,7949,8429,9221,9461,9629,9941,10061

%N Primes of the form 29x^2+2xy+29y^2.

%C Discriminant=-3360. See A139827 for more information.

%H Vincenzo Librandi and Ray Chandler, <a href="/A139997/b139997.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 {29, 149, 221, 389, 701, 821} (mod 840).

%t Union[QuadPrimes2[29, 2, 29, 10000], QuadPrimes2[29, -2, 29, 10000]] (* see A106856 *)

%o (Magma) [p: p in PrimesUpTo(12000) | p mod 840 in [29, 149, 221, 389, 701, 821]]; // _Vincenzo Librandi_, Aug 03 2012

%K nonn,easy

%O 1,1

%A _T. D. Noe_, May 02 2008