More specifically I was solving the following problem:
Let π be a discrete random variable that is uniformly distributed over the set $S=\{β10, β9, β― , 0, β― , 9, 10\}$. Which of the following random variables is/are uniformly distributed?
(A) $π^2$
(B) $π^3$
(C) $(π β 5)^2$
(D) $(π + 10)^2$
The official answer is (B) and (D). The only plausible reason I find is that if $S= \{s_i \in \mathbb Z: -10\leq s_i\leq 10 \}$, then since there is a one-one correspondence between the sets $(S+10)^2 = \{(s_i+10)^2 : s_i\in S\}$ and $S^3 = \{s_i^3 : s_i\in S\}$, and $S$, therefore the variables $(X+10)^2$ and $X^3$ are uniformly distributed, with PMF $= \frac{1}{21}$. More generally, I postulate that if $X$ is a discrete random variable $X$ is a uniformly distributed over some set $S= \{s_i \in \mathbb Z: m\leq s_i\leq n \text{ for integers } m,n\}$, then the variable $Y=\phi(X)$ is also uniformly distributed if there exists a one-one correspondence between the sets $S$ and $\phi(S):=\{\phi(s_i):s_i\in S\}$ and $\text{PMF}_X=\text{PMF}_Y = \frac{1}{|S|}.$ Is it right or I am missing something?