finished smallest multiple problem