Skip to main content
Back to Permutations & Combinations
JEE Main 2023
Permutations & Combinations
Permutations and Combinations
Hard

Question

The number of 3 -digit numbers, that are divisible by 2 and 3 , but not divisible by 4 and 9 , is _________.

Answer: 3

Solution

Key Concepts and Formulas

  • Divisibility Rules: A number is divisible by 2 if its last digit is even, by 3 if the sum of its digits is divisible by 3, by 4 if its last two digits are divisible by 4, and by 9 if the sum of its digits is divisible by 9.
  • Inclusion-Exclusion Principle (Simplified): To find the number of elements in set A but not in set B, we can find the number of elements in A and subtract the number of elements in both A and B.
  • Finding Number of Multiples: The number of multiples of nn between aa and bb (inclusive) is given by bna1n\lfloor \frac{b}{n} \rfloor - \lfloor \frac{a-1}{n} \rfloor.

Step-by-Step Solution

Step 1: Find the number of 3-digit numbers divisible by 6.

A number divisible by both 2 and 3 must be divisible by their least common multiple, which is 6. We want to find the number of 3-digit numbers divisible by 6. The smallest 3-digit number is 100, and the largest is 999. Using the formula for the number of multiples, we have:

Number of multiples of 6 between 100 and 999 = 9996996=16616=150\lfloor \frac{999}{6} \rfloor - \lfloor \frac{99}{6} \rfloor = 166 - 16 = 150. So, there are 150 three-digit numbers divisible by 6.

Step 2: Find the number of 3-digit numbers divisible by 6 and 4 (i.e., divisible by 12).

A number divisible by both 6 and 4 must be divisible by their least common multiple, which is 12. We want to find the number of 3-digit numbers divisible by 12.

Number of multiples of 12 between 100 and 999 = 999129912=838=75\lfloor \frac{999}{12} \rfloor - \lfloor \frac{99}{12} \rfloor = 83 - 8 = 75. So, there are 75 three-digit numbers divisible by 12.

Step 3: Find the number of 3-digit numbers divisible by 6 and 9 (i.e., divisible by 18).

A number divisible by both 6 and 9 must be divisible by their least common multiple, which is 18. We want to find the number of 3-digit numbers divisible by 18.

Number of multiples of 18 between 100 and 999 = 999189918=555=50\lfloor \frac{999}{18} \rfloor - \lfloor \frac{99}{18} \rfloor = 55 - 5 = 50. So, there are 50 three-digit numbers divisible by 18.

Step 4: Find the number of 3-digit numbers divisible by 6, 4 and 9 (i.e., divisible by 36).

A number divisible by 6, 4 and 9 must be divisible by their least common multiple, which is 36. We want to find the number of 3-digit numbers divisible by 36.

Number of multiples of 36 between 100 and 999 = 999369936=272=25\lfloor \frac{999}{36} \rfloor - \lfloor \frac{99}{36} \rfloor = 27 - 2 = 25. So, there are 25 three-digit numbers divisible by 36.

Step 5: Find the number of 3-digit numbers divisible by 6 but not divisible by 4 and 9.

We want the number of 3-digit numbers divisible by 6, minus the number divisible by 6 and 4, minus the number divisible by 6 and 9, plus the number divisible by 6, 4, and 9 (to correct for double subtraction). This is an application of the Inclusion-Exclusion Principle.

Numbers divisible by 6 but not 4 and 9 = (Numbers divisible by 6) - (Numbers divisible by 6 and 4) - (Numbers divisible by 6 and 9) + (Numbers divisible by 6, 4 and 9) = 1507550+25=150125+25=50+25=0150 - 75 - 50 + 25 = 150 - 125 + 25 = 50 + 25 = 0. WRONG.

Let AA be the set of 3-digit numbers divisible by 6. Let BB be the set of 3-digit numbers divisible by 4. Let CC be the set of 3-digit numbers divisible by 9. We want to find ABcCc|A \cap B^c \cap C^c|, which is the number of elements in AA that are not in BB and not in CC. This is equivalent to AA(BC)=A(AB)(AC)|A| - |A \cap (B \cup C)| = |A| - |(A \cap B) \cup (A \cap C)|. By the Inclusion-Exclusion Principle, this is A(AB+ACABC)=AABAC+ABC|A| - (|A \cap B| + |A \cap C| - |A \cap B \cap C|) = |A| - |A \cap B| - |A \cap C| + |A \cap B \cap C|. We have A=150|A| = 150, AB=75|A \cap B| = 75, AC=50|A \cap C| = 50, and ABC=25|A \cap B \cap C| = 25. Thus, the desired quantity is 1507550+25=3150 - 75 - 50 + 25 = 3.

Common Mistakes & Tips

  • Be careful with the inclusion-exclusion principle. It is easy to make mistakes with the signs.
  • Remember to find the least common multiple when dealing with divisibility by multiple numbers.
  • Always double-check your calculations to avoid arithmetic errors.

Summary

We used the divisibility rules and the inclusion-exclusion principle to find the number of 3-digit numbers divisible by 2 and 3, but not by 4 and 9. We first found the number of 3-digit numbers divisible by 6, 12, 18, and 36. Then, we used the inclusion-exclusion principle to find the desired number.

The final answer is \boxed{3}.

Practice More Permutations & Combinations Questions

View All Questions