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!)
A077872 Expansion of 1 / ((1-x)*(1-x+x^2+x^3)). 0
1, 2, 2, 0, -3, -4, 0, 8, 13, 6, -14, -32, -23, 24, 80, 80, -23, -182, -238, -32, 389, 660, 304, -744, -1707, -1266, 1186, 4160, 4241, -1104, -9504, -12640, -2031, 20114, 34786, 16704, -38195, -89684, -68192, 59688, 217565, 226070, -51182, -494816, -669703, -123704, 1040816, 1834224, 917113 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
a(n) = 2*a(n-1) - 2*a(n-2) + a(n-4) for n>3. - Colin Barker, Jun 20 2017
MATHEMATICA
CoefficientList[Series[1/((1-x)(1-x+x^2+x^3)), {x, 0, 50}], x] (* or *) LinearRecurrence[{2, -2, 0, 1}, {1, 2, 2, 0}, 50] (* Harvey P. Dale, May 23 2021 *)
PROG
(PARI) Vec(1 / ((1-x)*(1-x+x^2+x^3)) + O(x^50)) \\ Colin Barker, Jun 20 2017
CROSSREFS
Sequence in context: A191362 A137422 A139139 * A300453 A239292 A262879
KEYWORD
sign,easy
AUTHOR
N. J. A. Sloane, Nov 17 2002
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 19 05:02 EDT 2024. Contains 371782 sequences. (Running on oeis4.)