Question Details

How many of the integers 1, 2, … , 120, are divisible by none of 2, 5 and 7?

Options

A

40

B

42

C

43

D

41

Show Answer

Correct Answer :

Option D

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 S be the set of integers from 1 to 120. The total number of elements in this set is:
|S|=120

Let us define the following sets:
A: Set of integers in S divisible by 2.
B: Set of integers in S divisible by 5.
C: Set of integers in S divisible by 7.

We calculate the number of elements in each of these sets using the floor function (represented by ):

|A|=1202=60

|B|=1205=24

|C|=1207=17

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):
|AB|=12010=12

• Divisible by both 5 and 7 (i.e., divisible by 35):
|BC|=12035=3

• Divisible by both 2 and 7 (i.e., divisible by 14):
|AC|=12014=8

Now, we find the number of integers divisible by all three numbers (divisible by 2, 5, and 7, which means divisible by 70):

|ABC|=12070=1

According to the Principle of Inclusion-Exclusion, the number of integers divisible by at least one of 2, 5, or 7 is given by:

|ABC|=|A|+|B|+|C|-(|AB|+|BC|+|AC|)+|ABC|

Substituting our calculated values into the formula:

|ABC|=60+24+17-(12+3+8)+1

|ABC|=101-23+1=79

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:

Number of required integers=|S|-|ABC|

Number of required integers=120-79=41

Unlock Our Free Library

Access expert-curated educational resources and study materials—completely free.

Discover more resources

You may also like

Mock Tests

View All
  • CLAT
  • intermediate
  • 2 hours
  • current affairs, general knowledge, legal reasoning, logical reasoning, quant

  • CLAT
  • intermediate
  • 2 hours
  • current affairs, english, general knowledge, legal reasoning, logical reasoning, quant

Ask AI Tutor
5 left
Q1 View Question & Options
AI Tutor is solving this question...
Reading question context & options...