OFFSET
1,2
COMMENTS
1 contains 1 as a substring.
1 + 11 = 12 contains 2 as a substring and 11 is the least number > 1 that does that.
1 + 11 + 18 = 30 contains 3 as a substring and 18 is the least number > 11 that does that.
1 + 11 + 18 + 19 = 49 contains 4 as a substring and 19 is the least number > 18 that does that.
In the first 10000 terms the distribution of the least significant digit {0-9} is {201, 8339, 189, 185, 184, 174, 183, 176, 179, 190}. - Robert G. Wilson v, Feb 24 2018
LINKS
Chai Wah Wu, Table of n, a(n) for n = 1..10000
MATHEMATICA
f[lst_List] := Block[{k = 1 + lst[[-1]], n = ToString[1 + Length@lst], s = Plus @@ lst}, While[StringPosition[ToString[s + k], n] == {}, k++]; Append[lst, k]]; Nest[f, {1}, 50] (* Robert G. Wilson v, Feb 24 2018 *)
PROG
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Chai Wah Wu, Feb 23 2018
STATUS
approved