OFFSET
0,8
LINKS
Index entries for linear recurrences with constant coefficients, signature (0,0,0,2,0,0,0,-1).
FORMULA
O.g.f.: x^3*(1+x+x^2+x^3+x^4)/((1-x)^2*(1+x)^2*(1+x^2)^2). - R. J. Mathar, Aug 22 2008
a(0)=0, a(1)=0, a(2)=0, a(3)=1, a(4)=1, a(5)=1, a(6)=1, a(7)=3, a(n)=2*a(n-4)- a(n-8). - Harvey P. Dale, Mar 04 2012
a(n) = cos(n*Pi/2)/4-(n-1)*(2*sin(n*Pi/2)+(-1)^n-5)/16. - Wesley Ivan Hurt, May 05 2021
MATHEMATICA
CoefficientList[Series[x^3(1+x+x^2+x^3+x^4)/((1-x)^2(1+x)^2(1+x^2)^2), {x, 0, 80}], x] (* or *) LinearRecurrence[{0, 0, 0, 2, 0, 0, 0, -1}, {0, 0, 0, 1, 1, 1, 1, 3}, 80] (* Harvey P. Dale, Mar 04 2012 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Paul Curtz, Jul 20 2007
EXTENSIONS
Edited by N. J. A. Sloane, Sep 28 2007
STATUS
approved