Two dice are thrown r times. I want to find the probability $p_r$ that each of the six combinations (1,1),...,(6,6)appears at least once.
My Answer:-$p_r=6*(1-(\frac{35}{36})^r)-15*(1-(\frac{34}{36})^r)+20*(1-(\frac{33}{36})^r)-15*(1-(\frac{32}{36})^r)+6*(1-(\frac{31}{36})^r)-(1-(\frac{30}{36})^r)$.
Author's solution:- If $A_k$is the event that (k,k)does not appear, then $1-p_r=6*(\frac{35}{36})^r-\binom{6}{2}(\frac{34}{36})^r+\binom{6}{3}(\frac{33}{36})^r-\binom{6}{4}(\frac{32}{36})^r+6*(\frac{31}{36})^r-(\frac{30}{36})^r$
The thereom used here is:- The probability $P_1$of the realisation of atleast one event among the events $A_1,A_2,...,A_N$ is given by
$P_1=S_1-S_2+S_3-S_4+-...\pm S_N.$ Where $S_1=\sum p_i,S_2=\sum p_{i,j},S_3=\sum p_{i,j,k}....$ Here $i<j<k<...\leq N$ and $S_r$ has $\binom{N}{r}$ terms. $p_i=P[A_i], p_{i,j}=[A_iA_j] ,p_{i,j,k}=[A_iA_jA_k]$