OFFSET
0,4
COMMENTS
One of the components of the n-th power of the 4X4 matrix with rows (0,1,0,0), (0,0,1,0), (0,0,0,1), (1,4,0,-4) multiplied by the vector (0,1,1,2).
LINKS
Index entries for linear recurrences with constant coefficients, signature (4,0,-4,1).
FORMULA
a(n) -a(n-2) = A001834(n-3). - R. J. Mathar, Dec 17 2017
MATHEMATICA
CoefficientList[Series[x(3x-1)(2x-1)/((1-x)(1+x)(x^2-4x+1)), {x, 0, 40}], x] (* or *) LinearRecurrence[ {4, 0, -4, 1}, {0, 1, -1, 2}, 40] (* Harvey P. Dale, Jun 17 2023 *)
CROSSREFS
KEYWORD
sign,easy
AUTHOR
Roger L. Bagula, May 24 2005, corrected Sep 04 2008
EXTENSIONS
Sign of a(2) flipped. - R. J. Mathar, Jul 10 2012
STATUS
approved