A building has n floors numbered 1,2,...,n, plus a ground floor G. At the ground floor, m people get on the elevator together, and each gets off at a uniformly random one of the n floors (independently of everybody else). What is the expected number of floors the elevator stops at (not counting the ground floor)?
The way I approached this problem was the following:
Let $X$ be the number of floors the elevator stops at. $X = X_1 + X_2+...X_n$ where $X_i$ is $1$ if the elevator stops at the i-th floor and $0$ otherwise.
Therefore, $E(X_i) = Pr[X_i=1]$ and since each person gets off the elevator uniformly randomly, $Pr[X_i=1] = \frac{1}{n}$, so $E[X]=n\cdot \frac{1}{n}$
However, the answer was wrong, the book gives the following answer:
$Pr[A_i=1] = 1 - Pr[no\,one\,gets\,off\,at\,i]=1-(\frac{n-1}{n})^m$
I don't disagree with this notion but I'm confused as to why my method would be considered incorrect. By the way, I see that similar questions have been asked on this site before, but I particularly want to know why my original answer was wrong.