OFFSET
1,1
LINKS
Colin Barker, Table of n, a(n) for n = 1..997
Index entries for linear recurrences with constant coefficients, signature (10,1).
FORMULA
G.f.: x*(19*x-2) / (x^2+10*x-1). - Colin Barker, Oct 02 2015
MATHEMATICA
RecurrenceTable[{a[n] == 10 a[n - 1] + a[n - 2], a[1] == 2, a[2] == 1}, a, {n, 1, 21}] (* or *) LinearRecurrence[{10, 1}, {2, 1}, 21] (* Michael De Vlieger, Oct 02 2015 *)
PROG
(PARI) Vec(x*(19*x-2)/(x^2+10*x-1) + O(x^40)) \\ Colin Barker, Oct 02 2015
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Mark Dols, Dec 10 2009
STATUS
approved