login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A122520 Expansion of -x * (4*x^4+4*x^3+3*x^2+2*x+1) / (x^5-x^3-x^2-x-1). 0
1, 1, 1, 1, 1, -2, 1, 1, 1, -2, -2, 4, 1, -2, -5, 4, 7, -5, -8, 1, 16, -2, -20, -2, 25, 13, -38, -20, 43, 40, -50, -71, 61, 103, -53, -161, 40, 235, -11, -317, -68, 436, 184, -563, -374, 685, 688, -815, -1121, 874 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,6

LINKS

Table of n, a(n) for n=1..50.

Index entries for linear recurrences with constant coefficients, signature (-1,-1,-1,0,1).

FORMULA

G.f.: -x*(4*x^4+4*x^3+3*x^2+2*x+1)/(x^5-x^3-x^2-x-1). [Colin Barker, Oct 19 2012]

MATHEMATICA

M = {{0, 1, 0, 0, 0}, {0, 0, 1, 0, 0}, {0, 0, 0, 1, 0}, {0, 0, 0, 0, 1}, {1, 0, -1, -1, -1}}; w[1] = {1, 1, 1, 1, 1}; w[n_] := w[n] = M.w[n - 1] a = Table[w[n][[1]], {n, 1, 30}]

CROSSREFS

Sequence in context: A103502 A127950 A069545 * A284995 A243005 A058393

Adjacent sequences:  A122517 A122518 A122519 * A122521 A122522 A122523

KEYWORD

sign,easy

AUTHOR

Roger L. Bagula, Sep 16 2006

EXTENSIONS

Sequence edited by Joerg Arndt, Colin Barker, Bruno Berselli, Oct 19 2012.

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 13 16:17 EDT 2021. Contains 345008 sequences. (Running on oeis4.)