0

Show that from any five integers, one can always choose three of these integers such that their sum is divisible by 3.

I wasn't sure how to solve this problem, can someone please help? Thanks!

carina
  • 9

1 Answers1

2

First we assume it is possible for a set that does not satisfy the conditions to exist, and then we consider all numbers modulo $3$. Note that we cannot have three numbers the same mod 3 as adding them all together would yield a multiple of $3$. But this means that there is at least one number that is $0$, one number that is $1$ and one that is $2$ ($\text{mod }3$), and summing these gives a multiple of three, giving a contradiction.

Peter Foreman
  • 20,095
auscrypt
  • 8,246