Ugly numbers are those whose prime factors are 2, 3 or 5.
find the nth ugly number.
n.b. unlike the previous problem,trivial solution might not work in this case.
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers20
Suggested Problems
-
Convert a vector into a number
614 Solvers
-
Getting the indices from a vector
11767 Solvers
-
Return the first and last characters of a character array
11792 Solvers
-
981 Solvers
-
80 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!