Proof. Note that
is equivalent to
. Now we search all solutions
of
Then
is a solution for any integer
. Hence it suffices to determine all primitive triplets with the property
.
If
is a solution, so is any permutation of
. So there is no loss in generality in assuming that
.
Note also that if
is a solution, then
is also a solution, so we may suppose
.
Let
be a solution of (1) such that
,
. We name such a solution a reduced solution.
Then (1) is equivalent to the existence of integers
such that
Write
, where
is the sign of
, and
. Similarly,
, and
. Then
,
, and (1) is equivalent to
|
|
(3) |
We study four cases, depending on the sign of
and
.
-
If
, then
. Then (3) is equivalent to
|
|
(4) |
Then Problem 41 shows that
, so
-
If
then
. Then (3) is equivalent to
|
|
(5) |
where
satisfy
.
From (5) we deduce
, and
, thus
-
If
, then
Since
,
, thus
, so
-
If
, then
and
, so (6) shows that
(otherwise
), thus
. In this case, (5) is equivalent to
|
|
(7) |
but this is impossible, because
implies
, but
for a reduced solution.
-
If
, then
, so (3) gives
|
|
(8) |
where
, and
.
From (8) we deduce
, and
, thus
-
If
, then
, and (8) shows that
, thus
, so that
. Since
,
, so
-
If
, then
. The equation (9) shows that
. Thus (8) is equivalent to
|
|
(10) |
which gives
|
|
(11) |
-
If
is odd, then (11) gives
, where
is a positive integer. Since
, we obtain
. But the condition
shows that
, thus
, and
-
If
is even, then
, and
|
|
(12) |
Since
,
, and
. The condition
gives
or
, but
is even, thus
.
-
If
and
, then
, so (3) gives
|
|
(13) |
where
, and
. From (13) we deduce
, and
, thus
|
|
(14) |
-
If
, then
, and (12) gives
. Since
, we obtain
, where
. The condition
gives
, so
-
If
, then
. The equation (14) shows that
, so (12) is equivalent to
|
|
(15) |
which gives
|
|
(16) |
-
If
is odd, then
, where
. Since
,
, and
, where
, therefore
-
If
is even,
for some
. Then
is even, and
|
|
(17) |
Since
,
, and
, where
, thus
To conclude, the reduced solutions, i.e. the solutions
such that
, are
(Same results as in “Answers”, p. 513;
is given by
for
.)
We obtain all solutions by taking all permutations of these solutions, and multiplying them by some non zero constant. □