A107219 Primes of the form x^2 + 100y^2.
101, 109, 149, 181, 269, 389, 401, 409, 449, 461, 521, 541, 569, 761, 829, 929, 941, 1021, 1061, 1069, 1129, 1361, 1429, 1489, 1601, 1609, 1621, 1721, 1741, 1861, 1889, 1949, 2081, 2129, 2269, 2309, 2441, 2549, 2609, 2621, 2689, 2749, 2789
Offset: 1
Links
- Vincenzo Librandi and Ray Chandler, Table of n, a(n) for n = 1..10000 [First 1000 terms from Vincenzo Librandi]
- N. J. A. Sloane et al., Binary Quadratic Forms and OEIS (Index to related sequences, programs, references)
Programs
-
Mathematica
QuadPrimes2[1, 0, 100, 10000] (* see A106856 *)
-
PARI
list(lim)=my(v=List(),w,t); for(x=1, sqrtint(lim\1), w=x^2; for(y=1, sqrtint((lim-w)\100), if(isprime(t=w+100*y^2), listput(v,t)))); Set(v) \\ Charles R Greathouse IV, Feb 10 2017
Comments