Problem 45251. Last non-zero digit
Given a number n, find the last non-zero digit of the factorial of that number. You need to take care of the large values of n.
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers36
Suggested Problems
-
Make the vector [1 2 3 4 5 6 7 8 9 10]
50581 Solvers
-
Project Euler: Problem 5, Smallest multiple
1509 Solvers
-
Determine the number of odd integers in a vector
757 Solvers
-
98 Solvers
-
5742 Solvers
More from this Author165
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!