How do solve #n^2 - 10n + 22 = -2#?
is equivalent to
We would like to factor the left hand size to get something of the form
Since the final term is positive,
since the coefficient of
So we are looking for negative values
Assuming integer solutions there are very few possibilities.
By trial and error we can derive
which implies that