OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..200
Index entries for linear recurrences with constant coefficients, signature (11,-10).
FORMULA
G.f.: 4*x*(7+20*x) / ( (10*x-1)*(x-1) ). a(n)=4*A173833(n). - R. J. Mathar, Jan 06 2011
a(n) = a(n-1) +36*10^(n-1) = 10*a(n-1) +108 = 11*a(n-1) -10*a(n-2). - Vincenzo Librandi, Jul 15 2012
MATHEMATICA
CoefficientList[Series[4*(7+20*x)/((10*x-1)*(x-1)), {x, 0, 40}], x] (* Vincenzo Librandi, Jul 15 2012 *)
4(10^Range[20]-3) (* or *) LinearRecurrence[{11, -10}, {28, 388}, 20] (* Harvey P. Dale, Sep 25 2012 *)
PROG
(Magma) [4*(10^n-3): n in [1..20]]; // Vincenzo Librandi, Jul 15 2012
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Nov 15 2010
STATUS
approved