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.

A322611 Numbers that are sums (of a nonempty sequence) of consecutive centered square numbers.

Original entry on oeis.org

1, 5, 6, 13, 18, 19, 25, 38, 41, 43, 44, 61, 66, 79, 84, 85, 102, 113, 127, 140, 145, 146, 181, 187, 198, 212, 221, 225, 230, 231, 258, 259, 265, 300, 313, 325, 326, 338, 343, 344, 365, 402, 404, 421, 439, 445, 470, 481, 483, 486, 488, 489, 524, 545, 547, 578, 585, 613, 626, 651, 660
Offset: 1

Views

Author

Ilya Gutkovskiy, Dec 20 2018

Keywords

Crossrefs

Programs

  • Mathematica
    anmax = 1000; nmax = Floor[Sqrt[anmax/2]] + 1; Select[Union[Flatten[Table[Sum[k^2 + (k + 1)^2, {k, i, j}], {i, 0, nmax}, {j, i, nmax}]]], # <= anmax &] (* Vaclav Kotesovec, Dec 21 2018 *)