OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..100
Index entries for linear recurrences with constant coefficients, signature (11,-10).
FORMULA
a(n) = 10*a(n-1)+27 with n>1, a(1)=7.
G.f.: x*(20*x+7)/((x-1)*(10*x-1)). [Colin Barker, Jan 24 2013]
MATHEMATICA
LinearRecurrence[{11, -10}, {7, 97}, 20] (* Vincenzo Librandi, Feb 22 2012 *)
PROG
(PARI) a(n)=10^n-3 \\ Charles R Greathouse IV, Jan 11 2012
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Feb 26 2010
STATUS
approved