A 10-digit binary number with four $1$s are chosen at random. What is its expected value?
Here is what I thought to do: There are $_{10}C_4$ possible digits that could be filled with $1$. Since there are $10$ digits, that means that each digit equals $1$ in $21$ different ways. Since, the sum of $2^1+2^2+\cdots +2^9= 2^{10}-1$, we can say that the sum of all possible values is $21\cdot (2^{10}-1)$. If we divide this by the number of possible number combinations $210$, we should get the answer. However, this is incorrect. Where did I go wrong?
When you say there are $_{10}C_4=210$ strings with four $1$s and six $0$s, there are $840\ 1$'s spread among the $10$ digits, so $84\ 1$'s in each column. The sum is then $84\cdot (2^{10}-1)$. You lost the factor $4$ from the number of $1$'s in each number. This assumes leading $0$s are allowed in your $10$ digit numbers.