Updated smallest multiple to use #divmod
Solved problem #7