Skip to main content
Back to Sequences & Series
JEE Main 2020
Sequences & Series
Sequences and Series
Easy

Question

The number of 4-digit numbers which are neither multiple of 7 nor multiple of 3 is ____________.

Answer: 4

Solution

Key Concepts and Formulas

  • Complementary Counting: To find the number of elements satisfying "neither A nor B", we calculate the total number of elements and subtract those satisfying "A or B". Count(neither A nor B)=TotalCount(A or B)\text{Count}(\text{neither A nor B}) = \text{Total} - \text{Count}(\text{A or B})
  • Principle of Inclusion-Exclusion: For two sets A and B, the number of elements in their union is given by: AB=A+BAB|A \cup B| = |A| + |B| - |A \cap B|
  • Counting Multiples in a Range: The number of multiples of an integer dd in a range [a,b][a, b] can be found by counting the multiples of dd up to bb and subtracting the multiples of dd up to a1a-1. Alternatively, if the first multiple is a1a_1 and the last is ana_n, the count is ana1d+1\frac{a_n - a_1}{d} + 1.

Step-by-Step Solution

Step 1: Determine the Total Number of 4-Digit Integers

We need to find the total count of integers that have exactly four digits.

  • Reasoning: This forms the universal set from which we will subtract numbers that meet the exclusion criteria.
  • Calculation: The smallest 4-digit integer is 10001000 and the largest is 99999999. The total number of 4-digit integers is: 99991000+1=90009999 - 1000 + 1 = 9000 So, there are 90009000 four-digit numbers.

Step 2: Count 4-Digit Numbers Divisible by 3

Let N3N_3 be the number of 4-digit integers divisible by 3.

  • Reasoning: We need to find the first and last 4-digit multiples of 3 and use the arithmetic progression formula.
  • Calculation:
    • The smallest 4-digit number is 10001000. 1000÷3=3331000 \div 3 = 333 with a remainder of 11. The first multiple of 3 is 1000+(31)=10021000 + (3-1) = 1002.
    • The largest 4-digit number is 99999999. 9999÷3=33339999 \div 3 = 3333 with a remainder of 00. The last multiple of 3 is 99999999.
    • Using the formula for the number of terms in an arithmetic progression (n=ana1d+1n = \frac{a_n - a_1}{d} + 1): N3=999910023+1=89973+1=2999+1=3000N_3 = \frac{9999 - 1002}{3} + 1 = \frac{8997}{3} + 1 = 2999 + 1 = 3000 There are 30003000 four-digit numbers divisible by 3.

Step 3: Count 4-Digit Numbers Divisible by 7

Let N7N_7 be the number of 4-digit integers divisible by 7.

  • Reasoning: Similar to Step 2, we find the first and last 4-digit multiples of 7.
  • Calculation:
    • The smallest 4-digit number is 10001000. 1000÷7=1421000 \div 7 = 142 with a remainder of 66. The first multiple of 7 is 1000+(76)=10011000 + (7-6) = 1001.
    • The largest 4-digit number is 99999999. 9999÷7=14289999 \div 7 = 1428 with a remainder of 33. The last multiple of 7 is 99993=99969999 - 3 = 9996.
    • Using the formula for the number of terms in an arithmetic progression: N7=999610017+1=89957+1=1285+1=1286N_7 = \frac{9996 - 1001}{7} + 1 = \frac{8995}{7} + 1 = 1285 + 1 = 1286 There are 12861286 four-digit numbers divisible by 7.

Step 4: Count 4-Digit Numbers Divisible by Both 3 and 7

Numbers divisible by both 3 and 7 are divisible by their Least Common Multiple (LCM). Since 3 and 7 are prime, their LCM is 3×7=213 \times 7 = 21. Let N21N_{21} be the number of 4-digit integers divisible by 21.

  • Reasoning: We need to find the first and last 4-digit multiples of 21.
  • Calculation:
    • The smallest 4-digit number is 10001000. 1000÷21=471000 \div 21 = 47 with a remainder of 1313. The first multiple of 21 is 1000+(2113)=10081000 + (21-13) = 1008.
    • The largest 4-digit number is 99999999. 9999÷21=4769999 \div 21 = 476 with a remainder of 33. The last multiple of 21 is 99993=99969999 - 3 = 9996.
    • Using the formula for the number of terms in an arithmetic progression: N21=9996100821+1=898821+1=428+1=429N_{21} = \frac{9996 - 1008}{21} + 1 = \frac{8988}{21} + 1 = 428 + 1 = 429 There are 429429 four-digit numbers divisible by both 3 and 7.

Step 5: Count 4-Digit Numbers Divisible by 3 or 7

Using the Principle of Inclusion-Exclusion, the number of 4-digit integers divisible by 3 or 7 is N3+N7N21N_3 + N_7 - N_{21}.

  • Reasoning: This step calculates the count of numbers we want to exclude from our total set. We add the counts of multiples of 3 and 7, and subtract the count of multiples of 21 to correct for double-counting.
  • Calculation: N3 or 7=N3+N7N21N_{3 \text{ or } 7} = N_3 + N_7 - N_{21} N3 or 7=3000+1286429N_{3 \text{ or } 7} = 3000 + 1286 - 429 N3 or 7=4286429=3857N_{3 \text{ or } 7} = 4286 - 429 = 3857 There are 38573857 four-digit numbers divisible by 3 or 7.

Step 6: Calculate the Number of 4-Digit Integers Neither Divisible by 3 Nor by 7

We use complementary counting. The number of 4-digit numbers that are neither a multiple of 3 nor a multiple of 7 is the total number of 4-digit numbers minus those divisible by 3 or 7.

  • Reasoning: This is the final step where we apply the complementary counting principle to answer the question.
  • Calculation: Number (neither 3 nor 7)=Total numbersN3 or 7\text{Number (neither 3 nor 7)} = \text{Total numbers} - N_{3 \text{ or } 7} Number (neither 3 nor 7)=90003857=5143\text{Number (neither 3 nor 7)} = 9000 - 3857 = 5143

Common Mistakes & Tips

  • Off-by-One Errors: Be careful when calculating the first and last multiples of a divisor, and when calculating the total number of integers in a range. Always add 1 to the difference.
  • Double Counting: Forgetting to subtract the intersection (N21N_{21}) in the Inclusion-Exclusion principle is a common error.
  • LCM Calculation: Ensure you correctly identify the LCM for numbers divisible by two different integers. For coprime numbers, it's their product.

Summary

To find the number of 4-digit integers that are neither multiples of 7 nor multiples of 3, we first determined the total count of 4-digit numbers. Then, we calculated the number of 4-digit integers divisible by 3, by 7, and by both 3 and 7 (i.e., by 21). Using the Principle of Inclusion-Exclusion, we found the total count of numbers divisible by 3 or 7. Finally, we subtracted this count from the total number of 4-digit integers to obtain the desired result.

The final answer is \boxed{5143}.

Practice More Sequences & Series Questions

View All Questions