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

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

%S 3,73,97,283,307,313,433,523,577,643,787,937,1123,1153,1483,1627,1657,

%T 1753,1777,1867,1987,1993,2113,2203,2467,2593,2617,2707,2803,2833,

%U 2953,3163,3307,3433,3457,3547,3643,3673,3793,4003,4177,4273,4297

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

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

%H Vincenzo Librandi and Ray Chandler, <a href="/A139888/b139888.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, 73, 97, 187, 283, 307, 313, 433, 523, 577, 643, 787, 817} (mod 840).

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

%o (Magma) [ p: p in PrimesUpTo(5000) | p mod 840 in {3, 73, 97, 187, 283, 307, 313, 433, 523, 577, 643, 787, 817}]; // _Vincenzo Librandi_, Jul 30 2012

%K nonn,easy

%O 1,1

%A _T. D. Noe_, May 02 2008