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 Solvers21
Suggested Problems
-
Find common elements in matrix rows
2720 Solvers
-
287 Solvers
-
Find the elements of a matrix according to a defined property.
92 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
14137 Solvers
-
Generate a string like abbcccddddeeeee
276 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!