Homepage › Solution manuals › Kenneth Ireland › A Classical Introduction to Modern Number Theory › Exercise 1.23
Exercise 1.23
Suppose that with . For example, and . Assume that . Prove that there exist integers and such that and and (there is no loss in generality in assuming that and are odd and that is even). Consequently , , and . Conversely show that if and are given, then the three numbers , , and given by these formulas satisfy .
Answers
Proof. Suppose . Let . If , then . If , and , then , with . If a prime is such that , then , so (as is a prime). Then : this is impossible, so , and similarly .
If are odd, then , so . As the squares modulo 4 are , this is impossible. As , are not both even, so are not of the same parity. Without loss of generality, we may exchange so that is even, is odd, and then is odd.
, so
where are integers.
If and , then , and , so . This proves
Using Ex. 1.16, we see that and are squares : there exist such that
, and we can choose the signs of such that . Then . There exists ( ) such that .
Conversely, if are any integers, .
Conclusion : if ,
□