I need help on this question regarding dice and probability.
The question is, that a dice throws three times independently of each other. The random variable $X$ denotes the number of sides on the $i$-th throw, where $i$ is $i=1,2,3$. The maximum of the random variable $Y$ is given as $Y_{max}(X_i)$.
I need to find the cdf and pmf of the random variable $Y$.
I don't know how to go on with this question.
Thanks in advance.
Hints:
$P\left(Y\leq k\right)=P\left(X_{1}\leq k\wedge X_{2}\leq k\wedge X_{3}\leq k\right)=P\left(X_{1}\leq k\right)P\left(X_{2}\leq k\right)P\left(X_{3}\leq k\right)$
$P\left(Y=k\right)=P\left(Y\leq k\right)-P\left(Y\leq k-1\right)$