The problem statement should specify that i, j, and k are non-negative integers or the number of answers becomes infinite.
Also, why is 1 not included in all of the answers. 2^0*3^0*5^0 = 1
This problem requests the set of hamming numbers without the number one for some reason. https://rosettacode.org/wiki/Hamming_numbers
3283 Solvers
1859 Solvers
314 Solvers
414 Solvers
270 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!