# Math Help - Finding integer solutions for x² + y² = 41

1. ## Finding integer solutions for x² + y² = 41

How do you find all possible integer solutions of

$x^2 + y^2 = 41$

where x and y are integers.

2. ## Re: Finding integer solutions for x² + y² = 41

You can do an exhaustive search. The absolute value of both x and y have to be less than 7.

3. ## Re: Finding integer solutions for x² + y² = 41

Originally Posted by emakarov
You can do an exhaustive search. The absolute value of both x and y have to be less than 7.
Care to show me what you mean? I was thinking since x and y are integers they are either even or odd numbers. Therefore x = 2n and y = 2m where m and n are integers. And if x and y are odd we can let x = 2p + 1 and y = 2q + 1 where p and q are integers. However I am not sure who to go about from there.