login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A116558
a(n) = 6*a(n-4) - a(n-8).
1
0, 1, 1, 5, 2, 5, 5, 29, 12, 29, 29, 169, 70, 169, 169, 985, 408, 985, 985, 5741, 2378, 5741, 5741, 33461, 13860, 33461, 33461, 195025, 80782, 195025, 195025, 1136689, 470832, 1136689, 1136689, 6625109, 2744210, 6625109, 6625109, 38613965, 15994428, 38613965
OFFSET
0,4
FORMULA
From R. J. Mathar, Nov 28 2008: (Start)
a(n) = 6*a(n-4) - a(n-8).
G.f.: x*(1+x+5*x^2+2*x^3-x^4-x^5-x^6)/((1-2*x^2-x^4)*(1+2*x^2-x^4)). (End)
MATHEMATICA
CoefficientList[Series[x (1+x+5x^2+2x^3-x^4-x^5-x^6)/((1-2x^2-x^4) (1+2x^2-x^4)), {x, 0, 50}], x] (* Harvey P. Dale, May 11 2011 *)
PROG
(PARI) x='x+O('x^50); Vec(x*(1+x+5*x^2+2*x^3-x^4-x^5-x^6)/((1-2*x^2-x^4)*(1+2*x^2-x^4))) \\ G. C. Greubel, Sep 20 2017
CROSSREFS
Quadrisections: A001542, A001653. [From R. J. Mathar, Nov 28 2008]
Sequence in context: A020855 A007292 A191583 * A196626 A082571 A354195
KEYWORD
nonn,less,easy
AUTHOR
Roger L. Bagula, Mar 16 2006
EXTENSIONS
Edited, corrected and new name using Mathar's formula, Editors, Sep 21 2017
STATUS
approved