A093142 Expansion of g.f. (1-5*x)/((1-x)*(1-10*x)).
1, 6, 56, 556, 5556, 55556, 555556, 5555556, 55555556, 555555556, 5555555556, 55555555556, 555555555556, 5555555555556, 55555555555556, 555555555555556, 5555555555555556, 55555555555555556, 555555555555555556, 5555555555555555556, 55555555555555555556, 555555555555555555556
Offset: 0
Links
- Seiichi Manyama, Table of n, a(n) for n = 0..1000
- Index entries for linear recurrences with constant coefficients, signature (11,-10).
Programs
-
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 *)
-
PARI
{a(n) = (5*10^n+4)/9} \\ Seiichi Manyama, Sep 14 2019
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
From Elmo R. Oliveira, Apr 29 2025: (Start)
E.g.f.: exp(x)*(5*exp(9*x) + 4)/9.
Comments