Proof. Consider the equation
.
If
,
: we obtain one solution.
If
, as
,
: we obtain two solutions.
Suppose that
. The equation has 4 solutions
.
Indeed,
, and
and similarly
.
These solutions are incongruent modulo
:
and
(if not,
, so
).
If
, then
, thus
, this is impossible because
is odd (
). Therefore
. Moreover
implies
, so
: this is a contradiction, so
, and similarly
. There exist at least 4 solutions.
We show that these are the only solutions :
Indeed, if
,
, where
.
As in Ex.3.19, if
, then
or
, a fortiori
.
If
, then
is odd, and
, so
, with
, so
or
, that is
or
, thus
.
(Alternatively, we can prove this implication by induction.)
Hence every solution of
is such that
: there exist only four such values in the interval
, namely
.
Conclusion: if
, the roots of
in
are
. □