A107215 Primes of the form x^2 + 98y^2.
107, 179, 401, 617, 827, 883, 907, 1051, 1171, 1187, 1481, 1619, 1723, 1913, 2251, 2297, 2417, 2459, 2531, 2657, 2699, 2731, 3089, 3347, 3529, 3539, 3593, 3691, 3697, 3889, 3907, 4057, 4153, 4363, 4603, 4817, 5051, 5107, 5153, 5209, 5531
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, 98, 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)\98), if(isprime(t=w+98*y^2), listput(v,t)))); Set(v) \\ Charles R Greathouse IV, Feb 10 2017
Comments