OFFSET
1,2
LINKS
Alois P. Heinz, Table of n, a(n) for n = 1..250
Index entries for linear recurrences with constant coefficients, signature (22,-73,54,-8).
FORMULA
G.f.: (2*x^3-x^2-x) / (54*x^3-73*x^2-1+22*x-8*x^4).
MAPLE
a:= n-> (Matrix([[23, 1, 0, 1/4]]). Matrix(4, (i, j)-> `if`(i=j-1, 1,
`if`(j=1, [22, -73, 54, -8][i], 0)))^n)[1, 3]:
seq(a(n), n=1..20);
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Alois P. Heinz, Mar 19 2009
STATUS
approved