January 5, 2016
Two numbers are compatible if they have the same prime factors, though with possibly different multiplicities.
Your task is to write a program to determine if two numbers are compatible. When you are finished, you are welcome to read or run a suggested solution, or to post your own solution or discuss the exercise in the comments below.
Pages: 1 2