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
Check if number exists in vector
4469 Solvers
315 Solvers
2457 Solvers
276 Solvers
443 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!