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
-
3089 Solvers
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
2049 Solvers
-
1529 Solvers
-
1237 Solvers
-
270 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!