My question: If you throw a dice 5 times, what is the expected value of the square of the median of the 5 results?
A slightly modified question would be: If you throw a dice 5 times, what is the expected value of the median? The answer would be 3.5 by symmetry.
For the square, it seems to be that symmetry does not hold anymore. Is there a "smart" way to solve this problem?
If there isn't a smart way to solve the problem, if there a smart way to estimate the answer?
This is small enough that it can be calculated explicitly through some code. Creating the matrix of throws is inefficient, but it should be clear to see how the universe of possibilities is spanned.
As stated in the comments, this is the expected squared median for five throws of dice. The symmetry no longer holds since $4^2 - 3.5^2 > 3.5^2 - 3^2$ and so on. Therefore the expected squared median is larger than the expected median squared.