Problem 51950. Find the smallest integer m such that n divides m!
Write a function that takes an integer n and finds the smallest integer m whose factorial is divisible by n. For example, if , then the smallest factorial that is a multiple of n is 5! = 120; therefore, .
Solution CommentsShow comments
Problem Recent Solvers13