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

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

%S 331,379,499,619,691,859,1171,1291,1699,2011,2179,2539,2731,2971,3019,

%T 3259,3331,3499,3931,4051,4339,4651,5179,5659,5779,6451,6571,6691,

%U 7219,7459,8011,8419,8539,8779,9091,9619,9739,9859,9931,10099,10459

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

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

%H Vincenzo Librandi and Ray Chandler, <a href="/A140000/b140000.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 {91, 331, 379, 499, 619, 691, 859, 1171, 1219, 1291} (mod 1320).

%t QuadPrimes2[4, -4, 331, 10000] (* see A106856 *)

%o (Magma) [p: p in PrimesUpTo(12000) | p mod 1320 in [91, 331, 379, 499, 619, 691, 859, 1171, 1219, 1291]]; // _Vincenzo Librandi_, Aug 03 2012

%K nonn,easy

%O 1,1

%A _T. D. Noe_, May 02 2008