OFFSET
0,102
FORMULA
a(n) = #{k: (n mod 10^k)>0 and ((n/10^k) mod (n mod 10^k))=0}.
EXAMPLE
a(42)=1, as 4/2=2; a(43)=0, as 4/3 is not an integer.
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Reinhard Zumkeller, Jun 10 2003
STATUS
approved