A107184 Primes of the form x^2 + 75y^2.
79, 139, 271, 331, 349, 421, 661, 691, 739, 751, 829, 859, 1201, 1231, 1249, 1321, 1459, 1489, 1669, 1699, 1831, 1879, 2011, 2131, 2161, 2551, 2659, 2749, 2791, 3049, 3061, 3109, 3229, 3319, 3541, 3691, 3739, 3919, 3931, 4021, 4159, 4519
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, 75, 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)\75), if(isprime(t=w+75*y^2), listput(v,t)))); Set(v) \\ Charles R Greathouse IV, Feb 10 2017
Comments