Triple Balance


Let $a_1,a_2,a_3$ be integers. Prove that there exist integers $b_1,b_2,b_3$ such that

  • $b_i$ is equal to $-1,1$ or $0$ for all $i$ $\in$ {1,2,3} 
  • all numbers can’t be 0 at the same time
  • the number $N$ = $a_1b_1 + a_2b_2 + a_3b_3$ is perfectly divisible by $7$.


Source: BdMO 2024 National Secondary P4


Proof Based Problems  


  1 Upvote                    0 Downvote


Solution

Disclaimer: The solutions we've shared are just one exciting approach, and there are surely many other wonderful methods out there. We’d love to hear your alternative solutions in the community thread below, so let's keep the creativity flowing!

We basically want to sum them, we can place either plus or minus in front of them or make an element disappear, but we can't make all of them disappear. Instead of considering three numbers, consider the set ${\pm a_1,\pm a_2,\pm a_3}$

Case 1:

If one of them is 0 $(mod 7)$, then we can make the rest of the numbers disappear and that will be enough.

Case 2:

If two of them are equal we cancel them and make the last one dissapear

Case 3:

The last case is that all of the six numbers in the set is distinct $(mod 7)$. It is easy to see that the 3 numbers have to be $\pm1, \pm2, \pm3$. So we arrange them to be.

\[1+2-3 = 0 \ (mod \ 7)\]


So we are done.

This is a proof based problem added for learning purposes and does not accept submissions.

You can view the solution by clicking on the solution tab.

Editorial



Need a hint? Checkout the editorial.

View Editorial