Minimum Subset Size to Guarantee a Sum Divisible by 11

Board: Olympiad | Grade: Olympiad | Chapter: Pigeonhole Principle

Problem

Find the smallest positive integer $k$ such that every $k$-element subset of ${1, 2, 3, \dots, 100}$ contains at least two distinct elements whose sum is divisible by $11$.

Step-by-Step Textbook Solution

Classify the elements of $S = {1, 2, \dots, 100}$ according to their remainders modulo $11$. Since $100 = 11 \times 9 + 1$, the sizes of the residue classes $R_r = {x \in S : x \equiv r \pmod{11}}$ are:

  • $|R_1| = 10$ (namely $1, 12, 23, \dots, 100$),
  • $|R_0| = |R_2| = |R_3| = \dots = |R_{10}| = 9$.

Pair up complementary residue classes whose sums are divisible by $11$: $${R_1, R_{10}}, \quad {R_2, R_9}, \quad {R_3, R_8}, \quad {R_4, R_7}, \quad {R_5, R_6},$$ plus the self-complementary class $R_0$.

To construct the largest possible subset $A \subseteq S$ with NO two distinct elements summing to a multiple of $11$:

  • From $R_0$, we can pick at most $1$ element (any two elements in $R_0$ sum to $0 \pmod{11}$).
  • From each pair ${R_r, R_{11-r}}$ ($1 \le r \le 5$), we cannot pick elements from both $R_r$ and $R_{11-r}$; at best, we pick all elements from the larger class in the pair:
    • From ${R_1, R_{10}}$: pick all $10$ elements of $R_1$.
    • From ${R_2, R_9}$, ${R_3, R_8}$, ${R_4, R_7}$, ${R_5, R_6}$: pick $9$ elements each.

This gives a valid avoiding subset of size $$1 + 10 + 9 + 9 + 9 + 9 = 47.$$ Conversely, let $A \subseteq S$ have size $48$. Partition $S$ into $47$ "safe" groups? More precisely:

  • If $A$ has $\ge 2$ elements in $R_0$, we are done.
  • Otherwise $|A \cap R_0| \le 1$, so at least $47$ elements of $A$ lie in $\bigcup_{r=1}^{10} R_r$. Since $R_1 \cup R_{10}$ contributes at most $10$ elements without a pair (if it has $\ge 11$, by Pigeonhole Principle at least one element comes from $R_1$ and one from $R_{10}$), and each of the other $4$ pairs contributes at most $9$ elements without a pair, the maximum possible without a valid pair is $10 + 4(9) = 46 < 47$. By the Pigeonhole Principle, at least one complementary pair must contain elements from both sides, giving a sum divisible by $11$.

Thus $k =$ $48$.

NityaDhi Solution (Intuitive Method)

Never blindly take $\lfloor 100/2 \rfloor + 1 = 51$ or assume all residue classes have equal size! Use the Remainder Symmetry Shortcut:

  • $100 = 9 \times 11 + 1 \implies$ exactly one remainder ($1$) gets $10$ elements, all others get $9$.
  • In ${R_1, R_{10}}$ pick the $10$ elements of $R_1$; in the other $4$ pairs pick $9$ each; from $R_0$ pick $1$.
  • Maximum avoiding size $= 10 + 4(9) + 1 = 47$, so guaranteed size $= 47 + 1 =$ $48$.

Common Mistakes to Avoid

  • Using $50+1=51$ or $45+1=46$: Either treating $11$ as $2$ (half the set) or forgetting that $100 \equiv 1 \pmod{11}$ gives $R_1$ size $10$ instead of $9$ (yielding the wrong answer $47$ instead of $48$).
  • Taking $2$ elements from $R_0$: Any two multiples of $11$ sum to a multiple of $11$, so at most $1$ element from $R_0$ is allowed.