Who doesn’t love math 😊
Let and be natural numbers. We will say that a pair of natural numbers is interesting when:
- is a natural number, and , that is the product is divisible without remainder by the sum , and their quotient is less than or equal to .
The goal of this task is simple - find the number of interesting pairs!
Write a program divide.cpp, that given the three numbers and , computes the number of interesting pairs.