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.

Showing 1-5 of 5 results.

A322610 Numbers that are sums (of a nonempty sequence) of consecutive centered triangular numbers.

Original entry on oeis.org

1, 4, 5, 10, 14, 15, 19, 29, 31, 33, 34, 46, 50, 60, 64, 65, 77, 85, 96, 106, 109, 110, 111, 136, 141, 149, 160, 166, 170, 174, 175, 194, 195, 199, 226, 235, 245, 255, 258, 259, 260, 274, 302, 304, 316, 330, 335, 354, 361, 364, 365, 368, 369, 394, 409, 411, 434, 440, 460, 471, 490, 496, 500
Offset: 1

Views

Author

Ilya Gutkovskiy, Dec 20 2018

Keywords

Crossrefs

Programs

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

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 *)

A320728 Numbers that are sums of consecutive odd squares (or centered octagonal numbers).

Original entry on oeis.org

0, 1, 9, 10, 25, 34, 35, 49, 74, 81, 83, 84, 121, 130, 155, 164, 165, 169, 202, 225, 251, 276, 285, 286, 289, 290, 361, 371, 394, 420, 441, 445, 454, 455, 514, 515, 529, 596, 625, 645, 650, 670, 679, 680, 683, 729, 802, 804, 841, 875, 885, 934, 959, 961, 968, 969, 970, 1044, 1089
Offset: 1

Views

Author

Ilya Gutkovskiy, Dec 21 2018

Keywords

Crossrefs

Programs

  • PARI
    ok(n)={my(i=sqrtint(n)); i=i-(i%2==0); while(i>0, my(a=i^2, j=i); while(j>0 && a<=n, if(a==n, return(1)); j-=2; a=a+j^2); i-=2); 0}
    concat([0], select(ok, [1..1200])) \\ Antonio Roldán, Mar 12 2020

A322640 Numbers that are sums of consecutive centered heptagonal numbers (A069099).

Original entry on oeis.org

0, 1, 8, 9, 22, 30, 31, 43, 65, 71, 73, 74, 106, 114, 136, 144, 145, 148, 177, 197, 220, 242, 250, 251, 253, 254, 316, 325, 345, 368, 386, 390, 398, 399, 450, 451, 463, 522, 547, 565, 569, 587, 595, 596, 598, 638, 702, 704, 736, 766, 775, 818, 840, 841, 848, 849, 914, 953
Offset: 1

Views

Author

Ilya Gutkovskiy, Dec 21 2018

Keywords

Crossrefs

Programs

  • Mathematica
    terms = 58;
    nmax = 17; kmax =  8; (* empirical *)
    T = Table[(7 n^2 - 7 n + 2)/2, {n, 1, nmax}];
    Union[{0}, T, Table[k MovingAverage[T, k], {k, 2, kmax}] // Flatten][[1 ;; terms]] (* Jean-François Alcover, Dec 27 2018 *)

A321450 Numbers that are sums of consecutive pentagonal pyramidal numbers (A002411).

Original entry on oeis.org

0, 1, 6, 7, 18, 24, 25, 40, 58, 64, 65, 75, 115, 126, 133, 139, 140, 196, 201, 241, 259, 265, 266, 288, 322, 397, 405, 437, 455, 461, 462, 484, 550, 610, 685, 693, 725, 726, 743, 749, 750, 889, 936, 955, 1015, 1090, 1130, 1148, 1154, 1155, 1183, 1243, 1276, 1439
Offset: 1

Views

Author

Ilya Gutkovskiy, Dec 21 2018

Keywords

Crossrefs

Showing 1-5 of 5 results.