Suppose that therefore therefore or so that
Suppose that therefore as needed.
Suppose that has two solutions as stated in the question, suppose for the sake of contradiction that , then we have which is a contradiction because if then therefore but that is implied as through the assumption and the fact we just noticed above.
Suppose that and recall that this means that We'll prove that these two solutions are incongruent, first note that since then we know that therefore we know that therefore , thus has an inverse, so then if they happened to be congruent we have which implies that which is a contradiction since therefore we must have that
If it so happens that had an inverse mod (denoted by ) since we know that then we would be able to say that and therefore is of the form .
Therefore one just has to verify that is invertible mod , and actually if it was that was invertible then we could have symmetrically done the same. Recall that a number is invertible mod if , so suppose for the sake of contradiction that therefore and since then but then and so which is a contradiction, therefore , as needed.
- has two solutions if is odd