The equation is
.
Consider
.
Factorize the quadratic equation.
\


.
.


\ \
If
, then the general solution is
, where
is an integer.

If
, then
.
If
, then
.
\ \
Thus, the solutions are
, and
in the interval
.
The solutions are
, and
in the interval
.