Homepage Solution manuals Ivan Niven An Introduction to the Theory of Numbers Exercise 2.1.58 (If $a^2 + 2b^2 = 2p$ has a solution, then also $a^2 + 2b^2 = p$.)

Exercise 2.1.58 (If $a^2 + 2b^2 = 2p$ has a solution, then also $a^2 + 2b^2 = p$.)

Show that if p is an odd prime and a 2 + 2 b 2 = 2 p , then a is even and b is odd. Deduce that ( 2 b ) 2 + 2 a 2 = 4 p , and hence that b 2 + 2 ( a 2 ) 2 = p .

Answers

Proof. Since a 2 = 2 ( p b 2 ) is even, a is also even (indeed, the square of an odd integer is odd).

Then 4 ( a 2 ) 2 + 2 b 2 = 2 p , so b 2 = p 2 ( a 2 ) 2 , where a 2 is an integer, is the sum of and odd integer with an even integer. Therefore b 2 is odd, thus b is odd (the square of an even integer is even).

Multiplying by 2 the equality a 2 + 2 b 2 = 2 p , we obtain

( 2 b ) 2 + 2 a 2 = 4 p ,

and dividing by 4 ,

b 2 + 2 ( a 2 ) 2 = p .

This shows that if the equation x 2 + 2 y 2 = 2 p has a solution ( a , b ) , then the equation x 2 + 2 y 2 = p has also a solution, given by ( b , a 2 ) . □

User profile picture
2024-08-07 08:57
Comments