OFFSET
0,2
LINKS
Ivan Panchenko, Table of n, a(n) for n = 0..200
Index entries for linear recurrences with constant coefficients, signature (11,-10).
FORMULA
From Vincenzo Librandi, Jul 22 2010: (Start)
a(n) = a(n-1)+7*10^(n-1) with n>0, a(0)=0.
a(n) = 11*a(n-1)-10*a(n-2) with n>1, a(0)=0, a(1)=7. (End)
G.f.: 7*x/((x-1)*(10*x-1)). - Colin Barker, Jan 24 2013
a(n) = 7*A002275(n). - Wesley Ivan Hurt, Mar 24 2015
E.g.f.: 7*exp(x)*(exp(9*x) - 1)/9. - Stefano Spezia, Sep 13 2023
MAPLE
MATHEMATICA
LinearRecurrence[{11, -10}, {0, 7}, 25] (* Robert G. Wilson v, Jul 06 2013 *)
PROG
(Magma) [7*(10^n-1)/9 : n in [0..30]]; // Wesley Ivan Hurt, Mar 24 2015
(PARI) a(n)=7*(10^n-1)/9 \\ Charles R Greathouse IV, Sep 24 2015
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
STATUS
approved