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.

A243190 Nonnegative numbers of the form -2x^2+6xy+3y^2.

Original entry on oeis.org

0, 3, 7, 12, 22, 27, 28, 30, 43, 48, 55, 63, 67, 70, 75, 88, 102, 103, 108, 112, 118, 120, 127, 142, 147, 163, 172, 175, 183, 187, 192, 198, 220, 223, 238, 243, 252, 255, 262, 268, 270, 280, 283, 295, 300, 307, 318, 327, 343, 352, 355, 358, 363, 367, 382
Offset: 1

Views

Author

N. J. A. Sloane, Jun 05 2014

Keywords

Comments

Discriminant 60.
Also: nonnegative 3x^2-5y^2 since 3y^2+6xy-2x^2 = 3(y+x)^2-5x^2. - R. J. Mathar, Jun 10 2020

Crossrefs

Programs

  • Mathematica
    Reap[For[n = 0, n <= 200, n++, If[Reduce[-2*x^2 + 6*x*y + 3*y^2 == n, {x, y}, Integers] =!= False, Sow[n]]]][[2, 1]]

Extensions

0 prepended and more terms from Colin Barker, Apr 07 2015