OFFSET
1,3
COMMENTS
If k is a term, then (10^k - 1)/9 is also a term. - Jinyuan Wang, Nov 07 2020
EXAMPLE
Number 405 is in sequence because 405 -> 145 -> 145 -> ...
PROG
(PARI) is(k) = {my(t=k, v=List([k])); while(t=sum(i=1, #d=digits(t), d[i]!), if(t==v[#v], return(1), if(sum(i=1, #v-1, t==v[i]), return(0))); listput(v, t)); } \\ Jinyuan Wang, Nov 07 2020
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Jaroslav Krizek, Mar 26 2011
EXTENSIONS
Missing terms a(1) and a(8)-a(10) aded by Jaroslav Krizek, Jan 28 2012
Name corrected and more terms from Jinyuan Wang, Nov 07 2020
STATUS
approved