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”).

A165155
a(n) = 100*a(n-1) + 11^(n-1) for n>0, a(0)=0.
5
0, 1, 111, 11221, 1123431, 112357741, 11235935151, 1123595286661, 112359548153271, 11235955029685981, 1123595505326545791, 112359550558592003701, 11235955056144512040711, 1123595505617589632447821, 112359550561793485956926031, 11235955056179728345526186341
OFFSET
0,3
COMMENTS
Generalization of A000225. - Mark Dols, Jan 28 2010
FORMULA
G.f.: x/((1-11*x)*(1-100*x)). - R. J. Mathar, Nov 02 2016
E.g.f.: (1/89)*(exp(100*x) - exp(11*x)). - G. C. Greubel, Feb 09 2023
EXAMPLE
From Mark Dols, Jan 28 2010: (Start)
As triangle:
........... 1
......... 1 1 1
....... 1 1 2 2 1
..... 1 1 2 3 4 3 1
... 1 1 2 3 5 7 7 4 1
. 1 1 2 3 5 9 3 5 1 5 1
1 1 2 3 5 9 5 2 8 6 6 6 1
(Mirrored version of A162741) (End)
MATHEMATICA
RecurrenceTable[{a[0]==0, a[n]==100a[n-1]+11^(n-1)}, a, {n, 40}] (* Harvey P. Dale, Feb 20 2016 *)
PROG
(Magma) [(1/89)*(100^n-11^n): n in [0..40]] // Vincenzo Librandi, Dec 05 2010
(SageMath) [(10^(2*n) - 11^n)/89 for n in range(41)] # G. C. Greubel, Feb 09 2023
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Mark Dols, Sep 05 2009
EXTENSIONS
a(0) prepended by Bruno Berselli, Oct 02 2015
STATUS
approved