OFFSET
0,7
COMMENTS
Considering more generally the family of generating functions (1 - x)^n * Sum_{j>=0} (x^j / (1 - Sum_{k=1..j} x^k)) one finds several sequences related to compositions as indicated in the cross-references.
MAPLE
gf := (1 - x)^2 * add(x^j / (1 - add(x^k, k = 1..j)), j = 0..42):
ser := series(gf, x, 40): seq(coeff(ser, x, k), k = 0..38);
CROSSREFS
KEYWORD
sign
AUTHOR
Peter Luschny, Jan 21 2024
STATUS
approved