OFFSET
0,11
COMMENTS
Number of sort-and-subtract steps to reach 0 when starting with n.
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 0..10000
PROG
(Haskell)
a193582 n = length $ takeWhile (> 0) $ iterate a193581 n
a193582_list = map a193582 [0..]
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Reinhard Zumkeller, Aug 10 2011
STATUS
approved