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 _____
We have AA=2,4,6,8........50, B=7,14,21,28,35,42,49 and A∩B=14,28,42
Also the smallest subset containing both A and B is A∪B
∴nA∪B=nA+nB−nA∩B= 25 + 7 – 3 = 29