OFFSET
1,6
LINKS
Aubrey Blecher, Charlotte Brennan, and Arnold Knopfmacher, The water capacity of integer compositions, Online Journal of Analytic Combinatorics, Issue 13, 2018, #6.
PROG
(PARI) v(z, N) = (-2 + 2*N + 5*z - 5*N*z - 4*z^2 + 3*N*z^2)/(-1 + 2*z)^2 + (1 - z)*(-3 + 4*z)/(1 - 2*z)*sum(r=2, N, 1/(1 - 2*z + z^r), O(z*z^N)) + sum(r=2, N, (1 - z)^2/(1 - 2*z + z^r)^2, O(z*z^N));
lista(nn) = Vec(v(z, nn), -nn);
CROSSREFS
KEYWORD
nonn
AUTHOR
Michel Marcus, Dec 29 2021
STATUS
approved