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
-
Remove any row in which a NaN appears
8797 Solvers
-
Set the array elements whose value is 13 to 0
1461 Solvers
-
Check if number exists in vector
14750 Solvers
-
Switch matrix to a column vector
378 Solvers
-
1108 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!