# Difference between revisions of "2021 JMPSC Accuracy Problems/Problem 13"

## Problem

Let $x$ and $y$ be nonnegative integers such that $(x+y)^2+(xy)^2=25.$ Find the sum of all possible values of $x.$

## Solution

asdf

Case 1: $x+y=4,3$. There are no possible answer when $x+y=3$, but when $x+y=4$, $x$ can equal $3$ or $1$. Case 2: $x+y=5,0$ This works when $x=0,5$. Therefore, the answer is $9$. ~ kante314