Let X={n∈N:1≤n≤50}. If A={n∈X:n is a multiple of 2} and B={n∈X:n is a multiple of 7}, then the number of elements in the smallest subset of X containing both A and B is:
Answer: 29
Solutions · 1
Official solution
n(A)=25 (multiples of 2 up to 50). n(B)=7 (multiples of 7: 7,14,…,49). n(A∩B) = multiples of 14 up to 50 =3 (14,28,42).
The smallest subset containing both is A∪B:
\[n(A\cup B) = 25+7-3 = 29\]