OFFSET
0,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..500
Index entries for linear recurrences with constant coefficients, signature (11,-10).
FORMULA
From R. J. Mathar, Nov 30 2007: (Start)
O.g.f.: -3*(-2+17*x)/((-1+x)*(-1+10*x)) = -5/(-1+x) - 1/(-1+10*x).
a(n) = 10*a(n-1) - 45. (End)
a(n) = 10^n + 5. - Vincenzo Librandi, Aug 10 2011
MATHEMATICA
Join[{6}, Table[10*FromDigits[PadRight[{1}, n, 0]]+5, {n, 20}]] (* or *) LinearRecurrence[{11, -10}, {6, 15}, 20] (* Harvey P. Dale, Sep 06 2020 *)
PROG
(Magma) [10^n+5: n in [0..20]]; // Vincenzo Librandi, Aug 10 2011
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Paul Curtz, Nov 29 2007
STATUS
approved