OFFSET
0,2
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..700
F. v. Lamoen, Wave sequences
Index entries for linear recurrences with constant coefficients, signature (0,10,0,-15,0,7,0,-1).
FORMULA
G.f.: (x^5+x^4-4*x^3-3*x^2+3*x+1)/(x^8-7*x^6+15*x^4-10*x^2+1). - Alois P. Heinz, Jul 16 2009
MAPLE
a:= n-> (Matrix([[26, 7, 3, 1, 0, 0, -1, -1]]). Matrix(8, (i, j)-> if i=j-1 then 1 elif j=1 then [0, 10, 0, -15, 0, 7, 0, -1][i] else 0 fi)^n)[1, 4]: seq (a(n), n=0..30); # Alois P. Heinz, Jul 16 2009
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved