First we need to write the problem in mathematical language i.e. we need to write an equation.
Product of two numbers `xy,` sum of two numbers `x+y` and since the product is less by 3, we have
Write `y` in terms of `x.`
Factor the left side.
Check whether `x=1` gives an integer solution.
`x=1` does not gives us an integer solution so we can assume that `x ne1` which allows us to divide by `x-1.`
Now we know that in order to get an integer solution `x-3` must be divisible by `x-1,` bearing in mind that `x` is an integer as well. The only thing remaining to do is to check whether those two numbers are divisible for some values of `x.` We will start with values of `x` such that `x-1=-1` or `x-1=1` because those are certainly integers.
`x=-2` is not a solution. If we keep trying with the smaller and smaller numbers we will get fractions that get closer and closer to 1, but we will never get an integer.
Let us try greater numbers. We already know that `x=1` is not a solution so we will skip that.
Again, we see that `x=4` is not a solution and nor is any integer greater that 4.
We can conclude there are 4 such integer pair numbers and they are
`(-1,2), (0,3), (2,-1)` and `(3,0).`