login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A291241 p-INVERT of (0,1,0,1,0,1,...), where p(S) = 1 - S - S^2 + S^3. 2
1, 2, 3, 7, 10, 22, 32, 67, 99, 200, 299, 588, 887, 1708, 2595, 4913, 7508, 14018, 21526, 39725, 61251, 111922, 173173, 313752, 486925, 875702, 1362627, 2434747, 3797374, 6746350, 10543724, 18636343, 29180067, 51340988, 80521055, 141089508, 221610563 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
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 A291219 for a guide to related sequences.
LINKS
FORMULA
G.f.: (-1 - x + 3 x^2 + x^3 - x^4)/((-1 - x + x^2) (-1 + x + x^2)^2).
a(n) = a(n-1) + 4*a(n-2) - 3*a(n-3) - 4*a(n-4) + a(n-5) + a(n-6) for n >= 7.
MATHEMATICA
z = 60; s = x/(1 - x^2); p = 1 - s - s^2 + s^3;
Drop[CoefficientList[Series[s, {x, 0, z}], x], 1] (* A000035 *)
Drop[CoefficientList[Series[1/p, {x, 0, z}], x], 1] (* A291241 *)
LinearRecurrence[{1, 4, -3, -4, 1, 1}, {1, 2, 3, 7, 10, 22}, 40] (* Vincenzo Librandi, Aug 29 2017 *)
PROG
(Magma) I:=[1, 2, 3, 7, 10, 22]; [n le 6 select I[n] else Self(n-1)+4*Self(n-2)-3*Self(n-3)-4*Self(n-4)+Self(n-5)+Self(n-6): n in [1..40]]; // Vincenzo Librandi, Aug 29 2017
CROSSREFS
Sequence in context: A095010 A295723 A306008 * A318406 A365967 A079380
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Aug 28 2017
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 18 04:56 EDT 2024. Contains 371767 sequences. (Running on oeis4.)