A107157 Primes of the form x^2 + 50y^2.
59, 131, 281, 491, 499, 571, 619, 641, 739, 809, 811, 881, 929, 1259, 1289, 1291, 1571, 1721, 1801, 1889, 1979, 2089, 2131, 2161, 2339, 2459, 2531, 2659, 2801, 2851, 3169, 3209, 3259, 3299, 3449, 3539, 3851, 3929, 3931, 4019, 4049, 4051
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, 50, 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)\50), if(isprime(t=w+50*y^2), listput(v,t)))); Set(v) \\ Charles R Greathouse IV, Feb 09 2017
Comments