Discrete Random Variable of a die A icosahedral die has each face marked with different numbers from 1 to 20. Assume that each face is equally likely to occur on a single roll, the outcome is a random variable $X \sim DU(20)$
1) If a die is rolled twice, find the pdf of the smallest value obtained, say $Y$
2) If the die is rolled three finds, find the probability that the largest integer value is 3
Okay so DU just means "Discrete Uniform Distribution"
The answers are apparently $f(y) = (41 - 2y)/400$ for $y=1,2,\dots,20$ and 19/8000 respectively.
I am trying to work backwards and I've noticed that they probably some how multiplied 1/n twice to get that 400 in the bottom.
 A: 1) We calculate the probability that the minimum is $y$. This can happen in three ways: (i) We get a $y$ on both rolls; (ii) We get a $y$ on the first roll and something bigger than $y$ on the second; (iii) the other way around.
For (i), the probability is clearly $(1/20)^2$.
For (ii), the probability first is $y$ is $1/20$. There are $20-y$ numbers greater than $y$, so the probability of being greater than $y$ on the second is $(20-y)/20$. Thus the probability of (ii) is $(20-y)/400$.
The probability of (iii) is the same as that of (ii).
Add up. We get $\dfrac{1}{400}+\dfrac{20-y}{400} +\dfrac{20-y}{400}$.
There is a nicer (I think) way to solve 1). We have $Y=y$ iff (a) both tosses are $\ge y$ and (b) it is not the case that both tosses are $\ge y+1$. 
The probability of (a) is $\left(\dfrac{21-y}{20}\right)^2$. The probability of (b) is  $\left(\dfrac{20-y}{20}\right)^2$. Subtract, and, if desired, simplify.
The second way may seem harder. But note that the cumulative distribution function of $Y$ is most easily arrived at in this way. Similar ideas, for $\max$ as well as $\min$, will continue to be useful. 
2) Here is a nice way to solve the problem. The probability they are all $\le 3$ is $\left(\dfrac{3}{20}\right)^3$. The probability they are all $\le 2$ is $\left(\dfrac{2}{20}\right)^3$. Subtract. 
Alternately, we can divide into cases: all tosses are  $3$; there are two $3$'s; there is one $3$. The relevant probabilities are not hard to calculate. For example, the probability of two $3$'s is $(3)(1/20)^2(19/20)$. Add the three answers we get.   
