Problem 51950. Find the smallest integer m such that n divides m!
Solution Stats
Problem Comments
-
3 Comments
David Hill
on 3 Jun 2021
Chris, please check test 21. The factors of 1535238 include two 67's, therefore it seems to me the solution should be 134.
Are Mjaavatten
on 3 Jun 2021
David: Take another look. ChrisR's anti-lookup trick lets correct solutions pass the test!
ChrisR
on 3 Jun 2021
David, you are correct for Kempner(1535238), but that test asks for Kempner(Kempner(Kempner(1535238))).
Problem Recent Solvers6
Suggested Problems
-
Increment a number, given its digits
595 Solvers
-
Find perfect placement of non-rotating dominoes (easier)
297 Solvers
-
Generalized Laguerre polynomials
52 Solvers
-
Sum of diagonals elements of a matrix
185 Solvers
-
Return fibonacci sequence do not use loop and condition
384 Solvers
More from this Author148
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!