The GCD of two numbers is equal to the GCD of each of the numbers with their sum. How many distinct pair of numbers are there using the numbers from 1 to 1000?
This question has no short answer. Try it yourself, then compare with the solution.
The GCD of two numbers is equal to the GCD of each of the numbers with their sum. How many distinct pair of numbers are there using the numbers from 1 to 1000?
This question has no short answer. Try it yourself, then compare with the solution.