OFFSET
0,3
COMMENTS
Unsigned, this is the repeated sequence A002623.
LINKS
Index entries for linear recurrences with constant coefficients, signature (1,-4,4,-6,6,-4,4,-1,1).
FORMULA
G.f.: 1/((1-x)*(1+x^2)^4).
a(2*k) = a(2*k+1)= ((-1)^k)*A002623(n), k>=0.
a(n) = (-1)^((2*n-1+(-1)^n)/4)*((n+2)*(n+7)*(2*n+9)+3*(n+3)*(n+6)*(-1)^n+12*(-1)^((2*n-1+(-1)^n)/4))/192. - Luce ETIENNE, Mar 13 2015
MATHEMATICA
CoefficientList[Series[1/((1-x)(1+x^2)^4), {x, 0, 60}], x] (* or *) LinearRecurrence[{1, -4, 4, -6, 6, -4, 4, -1, 1}, {1, 1, -3, -3, 7, 7, -13, -13, 22}, 60] (* Harvey P. Dale, Jul 04 2021 *)
PROG
(PARI) Vec(1/((1-x)*(1+x^2)^4) + O(x^50)) \\ Michel Marcus, Mar 16 2015
CROSSREFS
KEYWORD
sign,easy
AUTHOR
Wolfdieter Lang, Apr 04 2007
STATUS
approved