Problem:
Determine all pairs of positive integers and such that
is an integer.
Problem:
Determine all pairs of positive integers and such that
is an integer.
Solution:
The solutions are all pairs of these three types:
(a) for every positive integer
(b) for every positive integer
(c) for every even positive integer
We can first factor out a 3 from the numerator and the denominator of the fraction:
So we must determine by which powers of 2 the number is divisible. It is trivial to note that this number is always odd, hence and are solutions for any value of . Now, let us factor the numerator using these well-known identities:
valid for odd, and
valid for even. From the first, with , we have
for even. Hence is a multiple of at least 4 when is even. Can it be a multiple of 8? No, because in the second parenthesis there is an odd number of odd terms, so their sum is an odd number.
Similarly, from the second identity we obtain
that is, is a multiple of 4 when is odd (actually it is also a multiple of 8 because this time there is an even number of terms in the parenthesis, but we will not need this in the proof). Then, since is a multiple of 4, cannot also be one. Hence is a multiple of 2 but not of 4 in the case where is odd.
To sum up, we have:
- For even, is a multiple of 4 but not of 8, so the solutions are all and only those of the type and (for every even )
- For odd, is a multiple of 2 but not of 4, so the solutions are all and only those of the type and (for every odd )