OFFSET
1,1
COMMENTS
The variant where duplicated terms and zero are forbidden is A332803.
LINKS
Jean-Marc Falcoz, Table of n, a(n) for n = 1..20004
EXAMPLE
Below are S, the sequence, and Q, the cumulative sum:
S = 10, 1, 1, 1, 2, 1, 3, 1, 5, 1, 6, 1, 9, 2, 0, 2,...
Q = 10,11,12,13,15,16,19,20,25,26,32,33,42,44,44,46,...
We see that S and Q have the same succession of digits.
MATHEMATICA
s={10, 1}; q={1, 0, 1, 1}; t=11; p=4; While[ Length[s] < 105, v = q[[p++]]; AppendTo[s, v]; t += v; q = Join[q, IntegerDigits@ t]]; s (* Giovanni Resta, Feb 25 2020 *)
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Eric Angelini and Jean-Marc Falcoz, Feb 25 2020
STATUS
approved