How many of the integers 1, 2, … , 120, are divisible by none of 2, 5 and 7?
Correct Answer :
41
Solution :
The correct option is 41.
To find the number of integers from 1 to 120 that are divisible by none of 2, 5, and 7, we can use the Principle of Inclusion-Exclusion (PIE).
First, let be the set of integers from 1 to 120. The total number of elements in this set is:
Let us define the following sets:
• : Set of integers in divisible by 2.
• : Set of integers in divisible by 5.
• : Set of integers in divisible by 7.
We calculate the number of elements in each of these sets using the floor function (represented by ):
Next, we determine the number of integers divisible by combinations of two of these prime numbers (which correspond to the intersections of the sets):
• Divisible by both 2 and 5 (i.e., divisible by 10):
• Divisible by both 5 and 7 (i.e., divisible by 35):
• Divisible by both 2 and 7 (i.e., divisible by 14):
Now, we find the number of integers divisible by all three numbers (divisible by 2, 5, and 7, which means divisible by 70):
According to the Principle of Inclusion-Exclusion, the number of integers divisible by at least one of 2, 5, or 7 is given by:
Substituting our calculated values into the formula:
Thus, there are 79 integers between 1 and 120 that are divisible by at least one of 2, 5, or 7.
Finally, to find the number of integers divisible by none of these numbers, we subtract this quantity from the total number of integers in the set:
Access expert-curated educational resources and study materials—completely free.
Create, conduct, and manage professional online assessments with Mindyard. Perfect for teachers and institutes.
Copyright © 2026 Mindyard. All Rights Reserved.