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) = a(n-1)+10^(n-1) = 10*a(n-1)-44 with n>0, a(0)=5.
G.f.: x*(6-50*x)/((1-x)*(1-10*x)). - Vincenzo Librandi, Jul 05 2012
a(n) = 11*a(n-1) -10*a(n-2) with a(0)=5, a(1)=6. - Vincenzo Librandi, Jul 05 2012
a(n) = (A002279(n-1)+3)*2. - Martin Ettl, Nov 08 2012
MATHEMATICA
CoefficientList[Series[(6-50*x)/((1-x)*(1-10*x)), {x, 0, 30}], x] (* Vincenzo Librandi, Jul 05 2012 *)
PROG
(Magma) [(10^n+44)/9: n in [1..20]]; // Vincenzo Librandi, Jul 05 2012
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Feb 23 2010
STATUS
approved