Homepage Solution manuals Ivan Niven An Introduction to the Theory of Numbers Exercise 3.6.7 (Number of ordered pairs $(x,y)$ of integers for which $0 < x < y$ and $x^2 + y^2 = n$)

Exercise 3.6.7 (Number of ordered pairs $(x,y)$ of integers for which $0 < x < y$ and $x^2 + y^2 = n$)

Suppose that n is neither a perfect square nor twice a perfect square. Show that the number of ordered pairs ( x , y ) of integers for which 0 < x < y and x 2 + y 2 = n is R ( n ) 8 .

Answers

Proof. In the solution of Problem 5, we prove that if n is not a perfect square, then

Card T = R ( n ) 4 ,

where

T = { ( x , y ) 2 x 2 + y 2 = n , x > 0 , y > 0 } .

Suppose moreover that n is not twice a perfect square, so that there is no solution ( x , y ) such that x = y . Then T = T 1 T 2 , where

T 1 = { ( x , y ) 2 x 2 + y 2 = n , 0 < x < y } , T 2 = { ( x , y ) 2 x 2 + y 2 = n , 0 < y < x } .

Consider the maps

φ { T 1 T 2 ( x , y ) ( y , x ) φ { T 1 T 2 ( x , y ) ( y , x )

Then ψ φ = 1 T 1 , φ ψ = 1 T 2 , thus φ is bijective, which proves | T 1 | = | T 2 | . Therefore | T 1 | = | T | 2 = R ( n ) 8 .

The number of ordered pairs ( x , y ) of integers for which 0 < x < y and x 2 + y 2 = n is R ( n ) 8 . □

User profile picture
2024-11-28 10:16
Comments