%I #18 Feb 10 2017 16:22:39
%S 11,47,53,257,269,311,401,419,587,599,617,683,773,863,911,929,1109,
%T 1181,1307,1367,1433,1439,1571,1697,1907,2003,2039,2069,2237,2381,
%U 2579,2621,2729,2777,2843,2897,2927,3041,3191,3257,3323,3623,3677
%N Primes of the form 9x^2 + 11y^2.
%C Discriminant = -396. See A107132 for more information.
%H Vincenzo Librandi and Ray Chandler, <a href="/A107216/b107216.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[9, 0, 11, 10000] (* see A106856 *)
%o (PARI) list(lim)=my(v=List(),w,t); for(x=0, sqrtint(lim\9), w=9*x^2; for(y=1, sqrtint((lim-w)\11), if(isprime(t=w+11*y^2), listput(v,t)))); Set(v) \\ _Charles R Greathouse IV_, Feb 10 2017
%K nonn,easy
%O 1,1
%A _T. D. Noe_, May 13 2005
|