A107175 Primes of the form 4x^2 + 17y^2.
17, 53, 157, 349, 409, 461, 569, 593, 829, 937, 977, 1381, 1409, 1597, 1721, 1733, 1753, 1777, 1861, 2053, 2089, 2129, 2161, 2269, 2381, 2633, 2729, 2857, 2909, 2957, 3137, 3313, 3449, 3517, 3617, 3821, 3877, 3889, 4021, 4373, 4513, 4637
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[4, 0, 17, 10000] (* see A106856 *)
-
PARI
list(lim)=my(v=List(),w,t); for(x=0, sqrtint(lim\4), w=4*x^2; for(y=1, sqrtint((lim-w)\17), if(isprime(t=w+17*y^2), listput(v,t)))); Set(v) \\ Charles R Greathouse IV, Feb 10 2017
Comments