A107186 Primes of the form x^2 + 76y^2.
101, 157, 197, 313, 353, 593, 701, 709, 733, 853, 929, 1033, 1213, 1217, 1297, 1301, 1597, 1657, 1901, 1949, 2053, 2069, 2153, 2341, 2441, 2477, 2677, 2741, 2857, 2861, 2897, 3329, 3361, 3557, 3581, 3617, 3697, 3709, 3733, 3797, 4013, 4241
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, 76, 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)\76), if(isprime(t=w+76*y^2), listput(v,t)))); Set(v) \\ Charles R Greathouse IV, Feb 10 2017
Comments