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.

A279220 Expansion of Product_{k>=1} 1/(1 - x^(k*(k+1)*(2*k+1)/6)).

Original entry on oeis.org

1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 3, 3, 3, 3, 4, 5, 5, 5, 5, 6, 7, 7, 7, 7, 8, 9, 9, 9, 10, 11, 13, 13, 13, 14, 15, 17, 17, 17, 18, 19, 21, 21, 22, 23, 25, 27, 27, 28, 29, 31, 33, 33, 34, 35, 37, 40, 41, 42, 44, 46, 50, 51, 52, 54, 56, 60, 61, 62, 64, 67, 72, 73, 75, 77, 81, 86, 87, 89, 91, 95, 100, 101, 103, 106, 111, 117, 119, 121, 125, 130, 137
Offset: 0

Views

Author

Ilya Gutkovskiy, Dec 08 2016

Keywords

Comments

Number of partitions of n into nonzero square pyramidal numbers (A000330).

Examples

			a(6) = 2 because we have [5, 1] and [1, 1, 1, 1, 1, 1].
		

Crossrefs

Programs

  • Maple
    h:= proc(n) option remember; `if`(n<1, 0, (t->
          `if`(t*(t+1)*(2*t+1)/6>n, t-1, t))(1+h(n-1)))
        end:
    b:= proc(n, i) option remember; `if`(n=0, 1, `if`(i<1, 0,
          b(n, i-1)+(t-> b(n-t, min(i, h(n-t))))(i*(i+1)*(2*i+1)/6)))
        end:
    a:= n-> b(n, h(n)):
    seq(a(n), n=0..100);  # Alois P. Heinz, Dec 28 2018
  • Mathematica
    nmax=90; CoefficientList[Series[Product[1/(1 - x^(k (k + 1) (2 k + 1)/6)), {k, 1, nmax}], {x, 0, nmax}], x]

Formula

G.f.: Product_{k>=1} 1/(1 - x^(k*(k+1)*(2*k+1)/6)).