Given that $x$ and $y$ are positive integers and $x^2 + xy + y^2 = 2019,$ find the value of $x + y.$

The answer is 50.

**
This section requires Javascript.
**

You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.

13^2 +37^2+13*37=2019