Total Combinations

39 Views Asked by At

How many sets of size $5$ exist from the first $n$ natural numbers such that each element in the combination is pairwise coprime. eg. $\{1,2,3,5,7\}$ ,$\{1,4,3,5,7\}$ etc. but $\{1,2,4,5,7\}$ is invalid because $\mbox{gcd}(2,4)=2$.