OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..900
Index entries for linear recurrences with constant coefficients, signature (23,-152,220)
FORMULA
From Zerinvary Lajos, Jun 05 2009 [corrected by R. J. Mathar, Mar 14 2011]: (Start)
a(n) = 11^(n+2)/9 + 2^(n-1)/9 - 25*10^n/2.
a(n) = 21*a(n-1) - 110*a(n-2) + 2^n. - Vincenzo Librandi, Oct 09 2011
MATHEMATICA
CoefficientList[Series[1/((1 - 2 x) (1 - 10 x) (1 - 11 x)), {x, 0, 16}], x] (* Michael De Vlieger, Jan 31 2018 *)
PROG
(Sage) [(11^n - 2^n)/9-(10^n - 2^n)/8 for n in range(2, 19)] # Zerinvary Lajos, Jun 05 2009
(Magma) [(2*11^(n+2) +2^n-225*10^n)/18 : n in [0..20]]; // Vincenzo Librandi, Oct 09 2011
(PARI) Vec(1/((1-2*x)*(1-10*x)*(1-11*x))+O(x^99)) \\ Charles R Greathouse IV, Sep 23 2012
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved