OFFSET
1,2
LINKS
Colin Barker, Table of n, a(n) for n = 1..512
Index entries for linear recurrences with constant coefficients, signature (91,-90).
FORMULA
From Colin Barker, Oct 02 2015: (Start)
a(n) = 91*a(n-1) - 90*a(n-2) for n>2.
G.f.: 1 / ((1-x)*(1-90*x)). (End)
MATHEMATICA
NestList[90#+1&, 1, 20] (* Harvey P. Dale, Aug 29 2014 *)
PROG
(PARI) Vec(1/((x-1)*(90*x-1)) + O(x^30)) \\ Colin Barker, Oct 02 2015
(SageMath) [(90^n -1)/89 for n in (1..50)] # G. C. Greubel, Apr 26 2022
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Mark Dols, Jan 28 2010
STATUS
approved