Given that x and y are positive integers and x 2 + x y + y 2 = 2 0 1 9 , find the value of x + y .
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.
x 2 + x y + y 2 = ( x + y ) 2 − x y This fact means we can look for squares a little larger than 2019, and see if the difference can be factored into two numbers, such that those numbers sum to the number you’re squaring.
Since that sentence is really confusing, here’s an example: The first square number greater than 2019 is 2025, or 45 squared. Our difference here is just 6, and we need to factor that into two numbers who sum to 45. Obviously we can’t, so 45 isn’t the solution.
If you keep trying larger squares, you’ll arrive at 50, since 2 5 0 0 − 2 0 1 9 = 4 8 1 = 1 3 ∗ 3 7 , 1 3 + 3 7 = 5 0 Obviously this works, but after initially solving the problem, I thought of a potentially ‘better’ way. We are looking for a pair of numbers which sum to one quantity, and multiply to another. This is also occuring in a quadratic equation. I claim that the answer to this problem is the number, k, such that the roots of
z 2 + k z + ( k 2 − 2 0 1 9 )
are both integers (x and y).
I put better in quotes for a reason. This approach is more complicated and confusing than the trying numbers approach, and likely takes longer in practice. The only reason I’d say is better is that it’s more general, which is usually the gold standard for math problems. I guess my point is this: if you find it easier to bash a problem some, go for it! I feel like this approach is usually downplayed, but it can be extremely effective. Sometimes, it will lead you to the general solution, like it did for me here. Point is, solve how you want to solve, and have a nice day. :)
If you’ve just scrolled down to find the solution:
1 3 2 + 1 3 ∗ 3 7 + 3 7 2 = 2 0 1 9
so the answer is 1 3 + 3 7 = 5 0
What is the solution?
Problem Loading...
Note Loading...
Set Loading...
13^2 +37^2+13*37=2019