We are given that the students are numbered from 1 to 140, so the total number of students is
∣U∣=140.
Define three sets:
M={students whose numbers are divisible by 2},
P={students whose numbers are divisible by 3},
C={students whose numbers are divisible by 5}.
Our task is to find the number of students who do not belong to any of these three sets, i.e. the number of students in the complement set U−(M∪P∪C).
First we count each set individually.
• A number is divisible by 2 if it is even. The largest even number ≤ 140 is 140 itself, and half of the numbers from 1 to 140 are even, so
∣M∣=⌊2140⌋=70.
• A number is divisible by 3 if it is a multiple of 3. The greatest multiple of 3 in our range is 138, so
∣P∣=⌊3140⌋=46.
• A number is divisible by 5 if it ends in 0 or 5. The greatest multiple of 5 ≤ 140 is 140, hence
∣C∣=⌊5140⌋=28.
Next we count the pairwise intersections, that is, the students who satisfy two divisibility conditions at once.
• A number is divisible by both 2 and 3 exactly when it is divisible by their least common multiple lcm(2,3)=6. Hence
∣M∩P∣=⌊6140⌋=23.
• A number is divisible by both 2 and 5 when it is a multiple of lcm(2,5)=10, so
∣M∩C∣=⌊10140⌋=14.
• A number is divisible by both 3 and 5 when it is a multiple of lcm(3,5)=15, therefore
∣P∩C∣=⌊15140⌋=9.
Finally, we count the triple intersection, i.e. numbers divisible by 2,3 and 5 simultaneously. These are multiples of lcm(2,3,5)=30, so
∣M∩P∩C∣=⌊30140⌋=4.
Now we apply the principle of inclusion-exclusion for three sets. The formula is
∣M∪P∪C∣=∣M∣+∣P∣+∣C∣−∣M∩P∣−∣M∩C∣−∣P∩C∣+∣M∩P∩C∣.
Substituting every value we have just calculated,
∣M∪P∪C∣=70+46+28−(23+14+9)+4=144−46+4=98+4=102.
Thus 102 students chose at least one of the three courses. The students who chose none are the complement of this union inside the universal set of 140 students. Therefore,
Number of students choosing no course=∣U∣−∣M∪P∪C∣=140−102=38.
Hence, the correct answer is Option C.