login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A173812
a(n) = (8*10^n - 17)/9 for n > 0.
3
7, 87, 887, 8887, 88887, 888887, 8888887, 88888887, 888888887, 8888888887, 88888888887, 888888888887, 8888888888887, 88888888888887, 888888888888887, 8888888888888887, 88888888888888887, 888888888888888887, 8888888888888888887, 88888888888888888887, 888888888888888888887
OFFSET
1,1
FORMULA
a(n) = 10*a(n-1) + 17 with n > 0, a(0)=-1.
From Vincenzo Librandi, Jul 05 2012: (Start)
a(n) = 11*a(n-1) - 10*a(n-2) for n > 2.
G.f.: x*(7+10*x)/((1-x)*(1-10*x)). (End)
E.g.f.: 1 + exp(x)*(8*exp(9*x) - 17)/9. - Elmo R. Oliveira, Sep 09 2024
MATHEMATICA
CoefficientList[Series[(7+10*x)/((1-x)*(1-10*x)), {x, 0, 30}], x] (* Vincenzo Librandi, Jul 05 2012 *)
Table[FromDigits[PadLeft[{7}, n, 8]], {n, 20}] (* Harvey P. Dale, Jun 22 2013 *)
PROG
(Magma) [(8*10^n-17)/9: n in [1..20]]; // Vincenzo Librandi, Jul 05 2012
CROSSREFS
Cf. A093171.
Sequence in context: A183613 A295036 A295527 * A199027 A360237 A279845
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Feb 25 2010
STATUS
approved