OFFSET
0,4
COMMENTS
Suppose s = (c(0), c(1), c(2), ...) is a sequence and p(S) is a polynomial. Let S(x) = c(0)*x + c(1)*x^2 + c(2)*x^3 + ... and T(x) = (-p(0) + 1/p(S(x)))/x. The p-INVERT of s is the sequence t(s) of coefficients in the Maclaurin series for T(x). Taking p(S) = 1 - S gives the "INVERT" transform of s, so that p-INVERT is a generalization of the "INVERT" transform (e.g., A033453).
See A291382 for a guide to related sequences.
LINKS
Index entries for linear recurrences with constant coefficients, signature (0, 0, 1, 4, 7, 7, 4, 1)
FORMULA
G.f.: -((x^2 (1 + x)^3 (1 + x + x^2))/(-1 + x^3 + 4 x^4 + 7 x^5 + 7 x^6 + 4 x^7 + x^8)).
a(n) = a(n-3) + 4*a(n-4) + 7*a(n-5) + 7*a(n-6) + 4*a(n-7) + a(n-8) for n >= 9.
MATHEMATICA
z = 60; s = x + x^2; p = 1 - s^3 - s^4;
Drop[CoefficientList[Series[s, {x, 0, z}], x], 1] (* A019590 *)
u = Drop[CoefficientList[Series[1/p, {x, 0, z}], x], 1] (* A291402 *)
LinearRecurrence[{0, 0, 1, 4, 7, 7, 4, 1}, {0, 0, 1, 4, 7, 8, 12, 31}, 40] (* Harvey P. Dale, Feb 20 2020 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Sep 06 2017
STATUS
approved