OFFSET
1,2
COMMENTS
These are partial sums in adding base-1 triangular numbers (1 + 111 + 111111 + 1111111111,...).
Third row of:
1,2,3,4,5,...
1,12,123,1234,12345,...
1,112,111223,1111222334,111112222333445,...
1,1112,1111112223,11111111112222223334,11111111111111122222222223333334445,..
FORMULA
EXAMPLE
For n=4, a(4)= 1 + 111 + 111111 + 1111111111 = 1111222334.
Combinatorially:
1,12,123,1234,12345,123456,...
1,21,321,4321,54321,654321,...
----------------------------- X
1,112,111223,1111222334.......
For n =(4),a(4)= 4 x 1 + 3 x 2 + 2 x 3 + 1 x 4 = 1111 + 222 + 33 + 4 = 1111222334.
MATHEMATICA
Accumulate[Table[FromDigits[PadRight[{}, n, 1]], {n, Accumulate[Range[10]]}]] (* Harvey P. Dale, Jun 12 2021 *)
CROSSREFS
KEYWORD
nonn,easy,base
AUTHOR
Mark Dols, Aug 07 2010
STATUS
approved