massi2884 wrote:If x and y are integers, what is the remainder when x^2 + y^2 is divided by 5?
1) When x-y is divided by 5, the remainder is 1
2) When x+y is divided by, the remainder is 2
OA C
(1) When x - y is divided by 5, the remainder is 1.
x - y = 5a + 1, so x - y can be 1, 6, 11, ...
If x = 2, y = 1, x - y = 1, then x² + y² = 5. So, remainder = 0.
If x = 3, y = 2, x - y = 1, then x² + y² = 13. So, remainder = 3.
No definite answer; NOT sufficient.
(2) When x + y is divided by, the remainder is 2.
x + y = 5b + 2, so x + y can be 2, 7, 12, ...
If x = 1, y = 1, x + y = 2, then x² + y² = 2. So, remainder = 2.
If x = 5, y = 2, x + y = 7, then x² + y² = 29. So, remainder = 4.
No definite answer; NOT sufficient.
Combining (1) and (2), x - y = 5a + 1 and x + y = 5b + 2
(x - y)² = (5a + 1)² or x² - 2xy + y² = 25a² + 10a + 1
(x + y)² = (5b + 2)² or x² + 2xy + y² = 25b² + 20b + 4
Adding the 2 equations, we get
2(x² + y²) = 5(5a² + 5b² + 2a + 4b + 1), which clearly implies that 2(x² + y²) is divisible by 5 with remainder = 0 and so x² + y² is also divisible by 5 with remainder = 0; SUFFICIENT.
The correct answer is
C.