login
A322637
Numbers that are sums of consecutive octagonal numbers (A000567).
6
0, 1, 8, 9, 21, 29, 30, 40, 61, 65, 69, 70, 96, 105, 126, 133, 134, 135, 161, 176, 201, 222, 225, 229, 230, 231, 280, 294, 309, 334, 341, 355, 363, 364, 401, 405, 408, 470, 481, 505, 510, 531, 534, 539, 540, 560, 621, 630, 645, 681, 695, 735, 736, 749, 756, 764, 765, 814, 833, 846
OFFSET
1,3
LINKS
Eric Weisstein's World of Mathematics, Octagonal Number
MATHEMATICA
terms = 60;
nmax = 17; kmax = 9; (* empirical *)
T = Table[n(3n-2), {n, 0, nmax}];
Union[T, Table[k MovingAverage[T, k], {k, 2, kmax}]//Flatten][[1 ;; terms]] (* Jean-François Alcover, Dec 26 2018 *)
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Dec 21 2018
STATUS
approved