The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A157128 Expansion of (1 - x - x^2 + x^3 - x^5) / ((1 + x)^2*(1 - x + x^2)^2). 3
1, -1, -1, -1, 2, 1, 1, -3, -1, -1, 4, 1, 1, -5, -1, -1, 6, 1, 1, -7, -1, -1, 8, 1, 1, -9, -1, -1, 10, 1, 1, -11, -1, -1, 12, 1, 1, -13, -1, -1, 14, 1, 1, -15, -1, -1, 16, 1, 1, -17, -1, -1, 18, 1, 1, -19, -1, -1, 20, 1, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,5
COMMENTS
Hankel transform of A157127.
LINKS
FORMULA
a(n) = -2*a(n-3) - a(n-6) for n>5. - Colin Barker, Oct 23 2019
MATHEMATICA
CoefficientList[Series[(1-x-x^2+x^3-x^5)/(1+2x^3+x^6), {x, 0, 60}], x] (* or *) LinearRecurrence[{0, 0, -2, 0, 0, -1}, {1, -1, -1, -1, 2, 1}, 70] (* Harvey P. Dale, Jul 08 2019 *)
PROG
(PARI) Vec((1 - x - x^2 + x^3 - x^5) / ((1 + x)^2*(1 - x + x^2)^2) + O(x^80)) \\ Colin Barker, Oct 23 2019
CROSSREFS
Sequence in context: A210873 A224838 A030272 * A359899 A301376 A307828
KEYWORD
easy,sign
AUTHOR
Paul Barry, Feb 23 2009
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 May 21 00:14 EDT 2024. Contains 372720 sequences. (Running on oeis4.)