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.

A243166 Nonnegative integers of the form x^2+6xy-2y^2.

Original entry on oeis.org

0, 1, 4, 5, 9, 14, 16, 20, 22, 25, 36, 37, 38, 45, 49, 53, 56, 64, 70, 77, 80, 81, 86, 88, 89, 97, 100, 110, 113, 121, 125, 126, 133, 137, 144, 148, 152, 157, 158, 166, 169, 180, 181, 185, 190, 196, 198, 209, 212, 214, 224, 225, 229, 245, 254, 256, 257, 262, 265, 269, 278, 280, 289, 301, 302, 308, 313, 317, 320, 324
Offset: 1

Views

Author

N. J. A. Sloane, May 31 2014

Keywords

Comments

Discriminant 44.
Nonnegative integers of the form z^2-11y^2. - Robert Israel, Jan 11 2017

Crossrefs

Primes in this sequence = A141182.

Programs

  • Maple
    N:= 1000: # to get all terms <= N
    Res:= {}:
    for z from 0 to floor(10*sqrt(N)) do
       for y from 0 do
         v:= z^2 - 11*y^2;
         if v < 0 then break fi;
         if v <= N then Res:= Res union {v} fi;
       od
    od:
    sort(convert(Res,list)); # Robert Israel, Jan 11 2017