Ugly numbers are those whose prime factors are 2, 3 or 5.
find the nth ugly number.
Solution Stats
Solution Comments
Show comments
Loading...
Problem Recent Solvers28
Suggested Problems
-
Return the 3n+1 sequence for n
8538 Solvers
-
Reverse the elements of an array
1146 Solvers
-
19051 Solvers
-
1746 Solvers
-
5263 Solvers
More from this Author174
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!