OFFSET
0,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..100 (term 0 added by Ivan Panchenko)
Index entries for linear recurrences with constant coefficients, signature (11,-10).
FORMULA
a(n) = a(n-1)+10^(n-1) = 10*a(n-1)-26, a(0)=3.
a(n) = 11*a(n-1)-10*a(n-2). - Vincenzo Librandi, Jul 05 2012
a(n) = (A002279(n-1)+2)*2. - Martin Ettl, Nov 12 2012
G.f.: (3-29*x)/((1-x)*(1-10*x)). - Ivan Panchenko, Nov 05 2013
MATHEMATICA
CoefficientList[Series[(3-29*x)/((1-x)*(1-10*x)), {x, 0, 30}], x] (* Ivan Panchenko, Nov 05 2013 *)
PROG
(Magma) [(10^n+26)/9: n in [0..20]]; // Ivan Panchenko, Nov 05 2013
(Maxima) A173735(n):=(10^n+26)/9$
makelist(A173735(n), n, 0, 20); /* Ivan Panchenko, Nov 03 2013 */
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Feb 23 2010
EXTENSIONS
a(0) from Ivan Panchenko, Nov 05 2013
STATUS
approved