OFFSET
0,6
LINKS
Seiichi Manyama, Table of n, a(n) for n = 0..10000 (terms 1..100 from Antonio Roldán)
EXAMPLE
A(15)=5 because 15 = 12+1+1+1 = 5+5+5 = 5+5+1+1+1+1+1 = 5+1+1+1+1+1+1+1+1+1+1 = 1+1+1+1+1+1+1+1+1+1+1+1+1+1+1 with 12, 5, 1 pentagonal numbers.
PROG
(PARI) {for (n=1, 100, p=truncate((1+sqrt(24*n+1))/6); m=polcoeff(prod(k=1, p, q=(3*k-1)*k/2; sum(h=0, truncate(n/q+1), x^(h*q))), n); write("B218379.txt", n, " ", m))}
CROSSREFS
KEYWORD
nonn
AUTHOR
Antonio Roldán, Oct 27 2012
EXTENSIONS
a(0) = 1 prepended by Seiichi Manyama, Dec 09 2017
STATUS
approved