would you please help me with this problem?
We have an urn with n balls numbered such that $X_i$ is the value of the ith ball, and we're asked to draw $k$ balls from the urn and then prove that their sum can be a multiple of $n$. Working on this problem, the furthest I got to is expecting the sum of the chosen balls which is $S= k (n+1) /2$ but I have no idea how to prove that we can obtain a multiple of $n$ by drawing some $k$ balls.
Any help please? Thanks
Even if you don't know the numbers written on the balls, you can still solve the problem by counting:
When you divide a number $m$ by $n$, the remainder can be anything in the list $0,1,2,\ldots, (n-1)$. If the remainder is 0, then $m$ is a multiple of $n$.
Consider the sums you can make by adding up the values of the first few balls in order: $X_1$, $X_1+X_2$, $X_1+X_2+X_3$, and so on. Let $S_k$ be the sum of the first $k$ balls.
We're considering $n$ different sums $S_1, \ldots, S_n$.
Otherwise, all of the remainders are in the range $1,2,3,\ldots, (n-1)$, leaving zero out. So by the pigeonhole principle, there are $n$ remainders chosen from the range of $n-1$ different numbers: $1,2,3,\ldots,(n-1)$. So two of these sums have the same remainder.
Because two of them have the same remainder, $S_i$ and $S_j$, their difference is a multiple of $n$. (You can prove this because if $S_i = an + c$ and $S_j = bn+c$, then $S_i-S_j = (a-b)n$.)
Their difference is $(X_1+\ldots+X_i) - (X_1+\ldots+X_j) = (X_{j+1}\ldots X_i).$ So this is a subset of balls that adds up to a multiple of $n$.