OFFSET
0,2
LINKS
Colin Barker, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (9).
FORMULA
G.f.: (1-2*x)/(1-9*x).
a(n) = 9*a(n-1) for n>1.
a(n) = 7*9^(n-1) for n>0.
MATHEMATICA
CoefficientList[Series[(1 - 2 x)/(1 - 9 x), {x, 0, 20}], x] (* Michael De Vlieger, Mar 18 2016 *)
PROG
(PARI) Vec((1-2*x)/(1-9*x) + O(x^30))
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Colin Barker, Mar 17 2016
STATUS
approved