Understand the problem

Show that for each non-negative integer $n$ there are unique non-negative integers $x$ and $y$ such that we have
\[n=\frac{(x+y)^2+3x+y}{2}.\]
Source of the problem
Germany MO, 2019, Problem 4
Topic
Number Theory
Difficulty Level
4/10
Suggested Book
Challenges and Thrills of Pre College Mathematics

Start with hints

Do you really need a hint? Try it first!

If you observe the expression \( \frac{(x+y)^2 + 3x + y}{2} \). It has two free variables. Now, if let’s play with the expression to make it a little more symmetric and easy to work with and make some meaning out of it. Try to remove the asymmetry of x and write it in a much more symmetric form in x and y.

Observe that  \( \frac{(x+y)^2 + 3x + y}{2} = \frac{(x+y)^2 + (x+y)}{2} + x\) is the expression what we get after bringing in the symmetry. Now, factorize it and see what we are looking for is \( n = \frac{(x+y)(x+y+1)}{2} + x\).  Can you guess anything about the expression \( \frac{(x+y)(x+y+1)}{2} \).

\( \frac{(k)(k+1)}{2} \)  is the sum of the first k natural numbers.  So, now the idea is that somehow you are taking the first k natural numbers and adding another number x to it to make any number. Can you get the final logic?  

Now, observe that sum of the first k numbers is increasing with k.  Now, take any number say 17. Now observe that 17 lies between 15 and 21.  This means that 17 = 15 + 2 = ( 1 +2 + 3 +4 + 5) +  2. So, this is the idea that k = x+y is the largest number such that n is greater than or equal to the ( 1 + 2 + … + k ) and observe that we may need something like 2 in case of n = 17. Call that x and obviously \( k \geq x \). Hence, define y = k – x. So, for n = 33 = ( 1 + 2 + … +  7 ) + 5.  Hence k = x + y = 7, x = 5, y = 2.  This is the whole idea. QED. 

Watch video

Connected Program at Cheenta

Math Olympiad Program

Math Olympiad is the greatest and most challenging academic contest for school students. Brilliant school students from over 100 countries participate in it every year. Cheenta works with small groups of gifted students through an intense training program. It is a deeply personalized journey toward intellectual prowess and technical sophistication.

Similar Problems

Squares and Triangles | AIME I, 2008 | Question 2

Try this beautiful problem from the American Invitational Mathematics Examination I, AIME I, 2008 based on Squares and Triangles.

Percentage Problem | AIME I, 2008 | Question 1

Try this beautiful problem from the American Invitational Mathematics Examination I, AIME I, 2008 based on Percentage. you may use sequential hints.

Smallest Positive Integer | PRMO 2019 | Question 14

Try this beautiful problem from the Pre-RMO, 2019 based on Smallest Positive Integer. You may use sequential hints to solve the problem.

Circles and Triangles | AIME I, 2012 | Question 13

Try this beautiful problem from the American Invitational Mathematics Examination I, AIME I, 2012 based on Circles and triangles.

Complex Numbers and Triangles | AIME I, 2012 | Question 14

Try this beautiful problem from the American Invitational Mathematics Examination I, AIME I, 2012 based on Complex Numbers and Triangles.

Triangles and Internal bisectors | PRMO 2019 | Question 10

Try this beautiful problem from the Pre-RMO, 2019 based on Triangles and Internal bisectors. You may use sequential hints to solve the problem.

Angles in a circle | PRMO-2018 | Problem 80

Try this beautiful problem from PRMO, 2018 based on Angles in a circle. You may use sequential hints to solve the problem.

Digit Problem from SMO, 2012 | Problem 14

Try this beautiful problem from Singapore Mathematics Olympiad, SMO, 2012 based on digit. You may use sequential hints to solve the problem.

Problem on Semicircle | AMC 8, 2013 | Problem 20

Try this beautiful problem from AMC-8, 2013, (Problem-20) based on area of semi circle.You may use sequential hints to solve the problem.

Radius of semicircle | AMC-8, 2013 | Problem 23

Try this beautiful problem from Geometry: Radius of semicircle from AMC-8, 2013, Problem-23. You may use sequential hints to solve the problem.