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.

A020672 Numbers of form x^2 + 9 y^2.

Original entry on oeis.org

0, 1, 4, 9, 10, 13, 16, 18, 25, 34, 36, 37, 40, 45, 49, 52, 58, 61, 64, 72, 73, 81, 82, 85, 90, 97, 100, 106, 109, 117, 121, 130, 136, 144, 145, 148, 153, 157, 160, 162, 169, 178, 180, 181, 193, 196, 202, 205, 208, 225, 226, 229, 232, 234, 241, 244, 250, 256, 261, 265, 274
Offset: 1

Views

Author

Keywords

Crossrefs

Primes: A068228.

Programs

  • Magma
    [n: n in [0..300] | NormEquation(9, n) eq true]; // Vincenzo Librandi, Aug 31 2016
  • Mathematica
    lim=300; k=9; Union@Flatten@Table[x^2 + k y^2, {y, 0, Sqrt[lim/k]}, {x, 0, Sqrt[lim-k y^2]}] (* Vincenzo Librandi, Aug 31 2016 *)