login
A322611
Numbers that are sums (of a nonempty sequence) of consecutive centered square numbers.
6
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,2
LINKS
Eric Weisstein's World of Mathematics, Centered Square Number
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 *)
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Dec 20 2018
STATUS
approved