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 Solvers25
Suggested Problems
-
Return the largest number that is adjacent to a zero
5517 Solvers
-
Replace NaNs with the number that appears to its left in the row.
3065 Solvers
-
Who has power to do everything in this world?
486 Solvers
-
2252 Solvers
-
275 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!