Simple question to which I expect a not so simple solution/proof.
Let $p$ be a prime and choose n numbers randomly from $\mathbb{Z}/p\mathbb{Z}$ using the uniform distribution. What is the probability that the sum of the $n$ elements is $0\pmod{p}$?
Simple question to which I expect a not so simple solution/proof.
Let $p$ be a prime and choose n numbers randomly from $\mathbb{Z}/p\mathbb{Z}$ using the uniform distribution. What is the probability that the sum of the $n$ elements is $0\pmod{p}$?
Do an induction on $n$. If for $n=k$ the sum of two randomly chosen elements of $\mathbb{Z}_p$ is equally likely to be congruent to one of $0,1,\dots,p-1$ modulo $p$, then whatever be the $(k+1)$-th element chosen, the sum is equally likely to be congruent to one of $0,1,\dots, p-1$ modulo $p$.