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.

A288631 Numbers that are the sum of two nonzero square pyramidal numbers (A000330).

Original entry on oeis.org

2, 6, 10, 15, 19, 28, 31, 35, 44, 56, 60, 69, 85, 92, 96, 105, 110, 121, 141, 145, 146, 154, 170, 182, 195, 205, 209, 218, 231, 234, 259, 280, 286, 290, 295, 299, 315, 340, 344, 376, 386, 390, 399, 408, 415, 425, 440, 476, 489, 507, 511, 520, 525, 536, 561, 570, 589, 597, 646, 651, 655, 664, 670, 680
Offset: 1

Views

Author

Ilya Gutkovskiy, Jun 12 2017

Keywords

Crossrefs

Programs

  • Maple
    M:= 20: # to get all terms <= A000330(M)
    sqp:= [seq(k*(k+1)*(2*k+1)/6, k=1..M)]:
    sort(convert(select(`<=`, {seq(seq(sqp[i]+sqp[j], j=1..i),i=1..M-1)},sqp[M]),list)); # Robert Israel, Jun 12 2017
  • Mathematica
    nmax = 700; f[x_] := Sum[x^(k (k + 1) (2 k + 1)/6), {k, 1, 20}]^2; Exponent[#, x] & /@ List @@ Normal[Series[f[x], {x, 0, nmax}]]