OFFSET
0,11
COMMENTS
By definition terms cannot exceed 10. The values from 0 to 10 are obtained the first time with n = 1, 0, 10, 14, 102, 104, 1206, 12406, 124506, 1245606, and 12456806, respectively.
REFERENCES
Eric Angelini, Posting to Sequence Fans Mailing List, Apr 20 2014.
EXAMPLE
a(102) = 4 because 102 can written as 93+9, 96+6, 101+1, and 102+0.
MATHEMATICA
a[n_] := Sum[ Boole[ MemberQ[ IntegerDigits[t] + t, n]], {t, Max[0, n-9], n}]; Array[a, 88, 0]
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Giovanni Resta, Feb 19 2020
STATUS
approved