Say a central server assigns each of n tasks uniformly and independently at random to n computers connected to it on a network. Say a computer is ‘overloaded’ if it receives 5 or more tasks.
Q: Calculate the expected number of overloaded computers.
I thought of doing [1 - Pr(a computer is not overloaded)] but that leads me to a complicated expression of: $$1 - PR(NotOver) = 1 - \sum_{i=0}^4 \left( \frac{1}{n} \right)^{i} { \left( \frac{n-1}{n} \right)}^{n-i}$$ multiplying this by n would(hopefully) give the Expected value. But the answer seems not very elegant atall, is there something I'm missing or an easier way to tackle this? Thanks!
Hagen von Eitzen suggestion of using the Poisson distribution in fact provides an upper bound.
For large $n$, with an expected number of tasks per computer of $\frac{n}{n} = 1$, the probability that a single computer is not overloaded is about $e^{-1}\left(1 + \frac{1}{1!}+ \frac{1}{2!}+ \frac{1}{3!}+ \frac{1}{4!}\right) \approx 0.99634015317$ and so the probability a single computer is overloaded is about $0.00365984683$.
For smaller $n$, the probability a single computer is overloaded is less than this, because high numbers of tasks (many more than the expectation) going to a single computer is less likely with smaller $n$.
So $0.00365984683$ is an upper bound on a single computer being overloaded, and by linearity of expectation $0.00365984683n$ is an upper bound on the expected number of computers being overloaded.
For what it is worth, the probabilities a single computer is overloaded for different $n$ are