Note that while we know that there are infinitely many solutions to the above equation if we're seaching in but it's not clear if there is even one solution when we restrict
Let and suppose that is a solution so that since we know that therefore as needed.
Recall that we have some such that since so for some thus multiplying our previous equation by we obtain
We already know that is a solution, so let be a different solution, then we have dividing through by we see that but then recall that thus by forced division, we see that so that there is some such that thus therefore by cancellation we have that and symmetrically therefore so therefore as needed.
For notational ease, let . Recall that iff there are some such that if and only if
This observation tells us that any integer multiple of is in . Now supose we have , we want to show this is a multiple of , equivalently we want to show that , but this is certainly true becuase so it does