OFFSET
0,10
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 0..10000
PROG
(Haskell)
a190311 n = g n $ reverse $ takeWhile (<= n) $ tail a000578_list where
g _ [] = 0
g m (x:xs) | x > m = g m xs
| otherwise = signum m' + g r xs where (m', r) = divMod m x
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Reinhard Zumkeller, May 08 2011
STATUS
approved