cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A107150 Primes of the form x^2 + 44y^2.

Original entry on oeis.org

53, 257, 269, 397, 401, 421, 617, 757, 773, 929, 1021, 1109, 1181, 1237, 1433, 1609, 1621, 1697, 1753, 1873, 2069, 2113, 2237, 2381, 2621, 2729, 2777, 2797, 2897, 2953, 3041, 3257, 3433, 3613, 3677, 3701, 3733, 3793, 3853, 3877, 4013, 4093
Offset: 1

Views

Author

T. D. Noe, May 13 2005

Keywords

Comments

Discriminant = -176. See A107132 for more information.

Programs

  • Mathematica
    QuadPrimes2[1, 0, 44, 10000] (* see A106856 *)
  • PARI
    list(lim)=my(v=List(),w,t); for(x=1, sqrtint(lim\1), w=x^2; for(y=0, sqrtint((lim-w)\44), if(isprime(t=w+44*y^2), listput(v,t)))); Set(v) \\ Charles R Greathouse IV, Feb 09 2017