Let $P$, $Q$, $R$ be the sets of first $8$ natural numbers, first $12$ natural numbers,first $20$ natural numbers respectively. A number is selected from each of these sets,say $p$, $q$, $r$ respectively. The probability that $r=|p-q|$ is?
as $r$ can not be zero , then $\Pr (p \ne q)$ is $1-\frac 8 {12 \times 8}$ how to do further? (natural number starts from $1$)
For any choice of $p$ there are exactly $11$ choices of $q$ for which $p\neq q$. Thus the probability that $|p-q|\neq 0$ is $\frac {11}{12}$.
For any choice of $p,q$ such that $|p-q|\neq 0$ there is a unique choice of $r$ such that $r=|p-q|$. Thus the desired answer is $$\boxed {\frac {11}{12}\times \frac 1{20}}$$