OFFSET
0,2
COMMENTS
LINKS
Seiichi Manyama, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (11,-10).
FORMULA
a(n) = 5*10^n/9 + 4/9.
a(n) = 10*a(n-1) - 4 with a(0)=1. - Vincenzo Librandi, Aug 02 2010
a(n) = 11*a(n-1) - 10*a(n-2), n > 1. - Harvey P. Dale, Aug 23 2014
MATHEMATICA
CoefficientList[Series[(1-5x)/((1-x)(1-10x)), {x, 0, 20}], x] (* or *) LinearRecurrence[{11, -10}, {1, 6}, 20] (* Harvey P. Dale, Aug 23 2014 *)
PROG
(PARI) {a(n) = (5*10^n+4)/9} \\ Seiichi Manyama, Sep 14 2019
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Paul Barry, Mar 24 2004
STATUS
approved