login
Primes of the form 3x^2+119y^2.
1

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

%S 3,131,167,227,311,419,479,503,719,839,887,983,1091,1151,1319,1559,

%T 1571,1847,1907,1931,1979,2063,2267,2351,2411,2579,2663,2819,2999,

%U 3023,3083,3167,3191,3359,3407,3491,3779,3947,4007,4091,4451,4583

%N Primes of the form 3x^2+119y^2.

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

%H Vincenzo Librandi and Ray Chandler, <a href="/A139943/b139943.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 {3, 131, 143, 167, 215, 227, 299, 311, 335, 419, 479, 503, 551, 635, 719, 755, 839, 887, 923, 983, 1091, 1151, 1235, 1319, 1391} (mod 1428).

%t QuadPrimes2[3, 0, 119, 10000] (* see A106856 *)

%o (Magma) [ p: p in PrimesUpTo(6000) | p mod 1428 in [3, 131, 143, 167, 215, 227, 299, 311, 335, 419, 479, 503, 551, 635, 719, 755, 839, 887, 923, 983, 1091, 1151, 1235, 1319, 1391]]; // _Vincenzo Librandi_, Aug 02 2012

%K nonn,easy

%O 1,1

%A _T. D. Noe_, May 02 2008