OFFSET
1,2
COMMENTS
For n > 19, A = 9*10^k for some k.
LINKS
Index entries for linear recurrences with constant coefficients, signature (0,0,0,0,0,0,0,0,0,11,0,0,0,0,0,0,0,0,0,-10).
EXAMPLE
912 - (9 + 1 + 2) = 900 is divisible by the highest power of 10 less than 900 (10^2). So 912 is a member of this sequence.
PROG
(PARI) DS(n)={t=0; for(i=1, #digits(n), t+=digits(n)[i]); return(t)}
for(n=1, 10^7, if((n-DS(n))%(10^(#Str(n-DS(n))-1))==0, print1(n, ", ")))
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Derek Orr, May 31 2014
EXTENSIONS
a(34) corrected by Georg Fischer, Mar 18 2022
STATUS
approved