solve Smallest multiple