login
Primes of the form 3x^2-3xy+7y^2, with x and y nonnegative.
2

%I #20 Sep 08 2022 08:45:18

%S 3,7,13,37,43,67,73,97,103,127,157,163,193,223,277,283,307,313,337,

%T 367,373,397,433,457,463,487,523,547,577,607,613,643,673,727,733,757,

%U 787,823,853,877,883,907,937,967,997,1033,1063,1087,1093,1117,1123

%N Primes of the form 3x^2-3xy+7y^2, with x and y nonnegative.

%C Discriminant=-75.

%H Vincenzo Librandi and Ray Chandler, <a href="/A106952/b106952.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)

%t QuadPrimes2[3, -3, 7, 10000] (* see A106856 *)

%o (Magma) [ p: p in PrimesUpTo(2000) | p mod 30 in {3, 7, 13} ]; // _Vincenzo Librandi_, Jul 22 2012

%K nonn,easy

%O 1,1

%A _T. D. Noe_, May 09 2005