Homepage › Solution manuals › Ivan Niven › An Introduction to the Theory of Numbers › Exercise 5.3.5 (Consequences of $2uv$ is a perfect square (where $u \wedge v = 1$))
Exercise 5.3.5 (Consequences of $2uv$ is a perfect square (where $u \wedge v = 1$))
Let and be relatively prime positive integers such that is a perfect square. Show that either (a) or (b) , for suitable positive integers .
Answers
Proof. We suppose that is a perfect square. Then is even, thus is even: for some integer . Then . This shows that or is even (but not both since and are relatively prime positive integers).
-
If , then for some positive integer , and , where and are relatively prime (since ). By Lemma 5.4, and are both perfect squares, so , and
-
If , we obtain similarly by exchanging the roles of and