OFFSET
0,2
LINKS
Colin Barker, Table of n, a(n) for n = 0..850
Index entries for linear recurrences with constant coefficients, signature (20,-90).
FORMULA
G.f.: (1 - 10*x) / (1 - 20*x + 90*x^2).
a(n) = 20*a(n-1) - 90*a(n-2) for n>1.
MAPLE
a:= n-> (<<0|1>, <-90|20>>^n. <<1, 10>>)[1, 1]:
seq(a(n), n=0..25); # Alois P. Heinz, Jul 06 2017
PROG
(PARI) Vec((1 - 10*x) / (1 - 20*x + 90*x^2) + O(x^25))
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Colin Barker, Jul 06 2017
STATUS
approved