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.

A107219 Primes of the form x^2 + 100y^2.

Original entry on oeis.org

101, 109, 149, 181, 269, 389, 401, 409, 449, 461, 521, 541, 569, 761, 829, 929, 941, 1021, 1061, 1069, 1129, 1361, 1429, 1489, 1601, 1609, 1621, 1721, 1741, 1861, 1889, 1949, 2081, 2129, 2269, 2309, 2441, 2549, 2609, 2621, 2689, 2749, 2789
Offset: 1

Views

Author

T. D. Noe, May 13 2005

Keywords

Comments

Discriminant = -400. See A107132 for more information.

Programs

  • Mathematica
    QuadPrimes2[1, 0, 100, 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)\100), if(isprime(t=w+100*y^2), listput(v,t)))); Set(v) \\ Charles R Greathouse IV, Feb 10 2017