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.

A322479 Numbers that are sums of consecutive square pyramidal numbers.

Original entry on oeis.org

0, 1, 5, 6, 14, 19, 20, 30, 44, 49, 50, 55, 85, 91, 99, 104, 105, 140, 146, 176, 190, 195, 196, 204, 231, 285, 286, 316, 330, 335, 336, 344, 385, 435, 489, 490, 506, 520, 534, 539, 540, 629, 650, 670, 720, 775, 805, 819, 824, 825, 874, 891, 1014, 1015, 1105, 1156, 1160, 1176, 1190
Offset: 1

Views

Author

Ilya Gutkovskiy, Dec 19 2018

Keywords

Crossrefs

Programs

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