A107160 Primes of the form x^2 + 52y^2.
53, 61, 101, 173, 233, 257, 277, 433, 569, 677, 757, 829, 857, 881, 937, 953, 997, 1013, 1049, 1093, 1193, 1277, 1297, 1301, 1361, 1381, 1429, 1433, 1693, 1733, 1741, 1873, 1889, 1901, 1993, 2029, 2141, 2161, 2389, 2417, 2549, 2557, 2609
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, 52, 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)\52), if(isprime(t=w+52*y^2), listput(v,t)))); Set(v) \\ Charles R Greathouse IV, Feb 09 2017
Comments