Can you find 4 whole numbers such that no group of them sums to a multiple of 3?
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.
Obviously, you can't pick a multiple of 3, so your numbers must leave a remainder of 1 or 2 when divided by 3. But if you had a remainder of 1 AND a remainder of 2, you could just add those two numbers and have a multiple of 3.
Thus, your numbers must either all leave remainders of 1, or all leave remainders of 2. However, if you take any 3 of these, they will sum to a multiple of 3, since 3 ⋅ 1 = 3 and 3 ⋅ 2 = 6 . Hence, it's impossible!
BONUS: In fact, if you pick any n whole numbers, there is always a subset that sums to a multiple of n − 1 .
Call the numbers A 1 , A 2 , … , A n .
Then, consider the sums:
B 1 = A 1
B 2 = A 1 + A 2
…
B n = A 1 + A 2 + … + A n
Note that, since there are only n − 1 possible remainders when dividing by n − 1 , at least two of these sums must leave the same remainder (this is a result of the Pigeonhole Principle ).
Thus, the difference between those two sums will be divisible by n − 1 , but the difference between those sums is a sum of a group of our A i ! For example, if B 4 and B 6 leave the same remainder, then B 6 − B 4 = A 5 + A 6 is divisible by n − 1 .