%I #18 Feb 09 2017 15:05:00
%S 2,43,97,227,233,257,313,353,467,563,617,643,673,787,907,947,1193,
%T 1283,1297,1483,1777,1873,1907,2027,2083,2153,2203,2267,2273,2377,
%U 2417,2617,2683,2803,2963,3067,3083,3187,3217,3313,3593,3673,3907
%N Primes of the form 2x^2 + 25y^2.
%C Discriminant = -200. See A107132 for more information.
%H Vincenzo Librandi and Ray Chandler, <a href="/A107156/b107156.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[2, 0, 25, 10000] (* see A106856 *)
%o (PARI) list(lim)=my(v=List(),w,t); for(x=1, sqrtint(lim\2), w=2*x^2; for(y=0, sqrtint((lim-w)\25), if(isprime(t=w+25*y^2), listput(v,t)))); Set(v) \\ _Charles R Greathouse IV_, Feb 09 2017
%K nonn,easy
%O 1,1
%A _T. D. Noe_, May 13 2005
|