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!)
A292301 p-INVERT of A010892, where p(S) = 1 + S - S^2. 5
-1, 1, 1, -1, 0, 1, -1, -1, 1, 0, -1, 1, 1, -1, 0, 1, -1, -1, 1, 0, -1, 1, 1, -1, 0, 1, -1, -1, 1, 0, -1, 1, 1, -1, 0, 1, -1, -1, 1, 0, -1, 1, 1, -1, 0, 1, -1, -1, 1, 0, -1, 1, 1, -1, 0, 1, -1, -1, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
0
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).
LINKS
FORMULA
G.f.: -((-1 + x)^2/(1 - x + x^2 - x^3 + x^4)).
a(n) = a(n-1) - a(n-2) + a(n-3) - a(n-4) for n >= 5.
MAPLE
A292301 := proc(n) option remember: if n = 0 then -1 elif n = 1 then 1 elif n = 2 then 1 elif n = 3 then -1 elif n >= 4 then procname(n-1) - procname(n-2) + procname(n-3) - procname(n-4) fi; end:
seq(A292301(n), n = 0..10^3); # Muniru A Asiru, Oct 16 2017
MATHEMATICA
z = 60; s = x/(1 - x + x^2); p = 1 + s - s^2;
Drop[CoefficientList[Series[s, {x, 0, z}], x], 1] (* A010892 *)
Drop[CoefficientList[Series[1/p, {x, 0, z}], x], 1] (* A292301 *)
PROG
(GAP) a:=[-1, 1, 1, -1];; for n in [5..10^3] do a[n] := a[n-1] - a[n-2] + a[n-3] -a [n-4]; od; A292301 := a; # Muniru A Asiru, Oct 16 2017
CROSSREFS
Sequence in context: A364252 A190239 A120529 * A099443 A132342 A156174
KEYWORD
easy,sign
AUTHOR
Clark Kimberling, Sep 29 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 March 19 01:34 EDT 2024. Contains 370952 sequences. (Running on oeis4.)