Sigma Percentile
JEE Main 2021 (31 Aug Shift 2)
LEVELJEE Main

Animated Solution for Mathematics - Sets and Relations: The number of 4-digit numbers which are neither multiple of 7 nor multiple of 3 is .

Enter Numerical Value:

Visualized Solution

Visualizing Sets , , and

  • Let be the set of all 4-digit numbers.
  • Let be the set of 4-digit numbers divisible by .
  • Let be the set of 4-digit numbers divisible by .
  • We need to find , which is the number of elements neither in nor in .

De Morgan's Law & Inclusion-Exclusion

  • By De Morgan's Law:
  • The Principle of Inclusion-Exclusion states:

Total 4-Digit Numbers

  • Total 4-digit numbers (): From to .

Multiples of Setup

  • Multiples of in 4-digit range:
  • This forms an Arithmetic Progression (AP).
  • First term , last term , common difference .

Calculating

  • Using the AP formula:

Multiples of Setup

  • Multiples of in 4-digit range:
  • This forms another AP.
  • First term , last term , common difference .

Calculating

  • Using

The Intersection Setup

  • Multiples of both and are multiples of their LCM.
  • Sequence:
  • This is an AP with , , and .

Calculating

  • Using

Finding the Union

Final Answer:

  • Required numbers =
  • Required numbers =
  • Final Answer:

The Sigma Insight: Types of Sets and Set Operations

Solution Diagram

The Universe of Numbers

Imagine you are standing in front of a massive, infinite library. You are tasked with a specific mission: to count the four-digit numbers that are 'pure'—meaning they are not divisible by and not divisible by .
At first glance, this feels like a daunting task. How do we count what isn't there? This is the beauty of set theory: we define our universe, identify the 'intruders,' and subtract them.

The Strategy

Inclusion-Exclusion
Let be the set of all -digit numbers. We know that the smallest -digit number is and the largest is .
The total count, , is calculated as:
Now, let be the set of numbers divisible by , and be the set of numbers divisible by . We want to find the numbers that are in neither nor . Mathematically, we are looking for .
By De Morgan's Law, this is equivalent to:

The Engine

Arithmetic Progressions
To find , we use the Principle of Inclusion-Exclusion:
For set , the first multiple of after is , and the last is . Using the formula , where :
We repeat this for set (multiples of ). The first multiple is and the last is . Solving the progression:

The Trap

Double Counting
If we simply add and , we have counted the numbers divisible by both and twice. These are the multiples of their Least Common Multiple, .
We must find . The first multiple of is , and the last is :
Now, we calculate the union:

The Final Victory

We take our total universe of and subtract the numbers that are divisible by either or .
The final count is:
You have successfully navigated the logic of sets and sequences. Remember, in JEE Advanced, it is rarely about brute force; it is about the elegance of the method. The final answer is 5143.

Similar Questions

JEE Main 2023 (01 February Shift 1)
LEVELJEE Main

The number of 3-digit numbers, that are divisible by either 2 or 3 but not divisible by 7 is

JEE Main 2023 (29 January Shift 2)
LEVELJEE Main

The number of 3 digit numbers, that are divisible by either 3 or 4 but not divisible by 48, is

(A)
472
(B)
432
(C)
507
(D)
400
JEE Main 2024 (06 Apr Shift 1)
LEVELJEE Main

Let A$ is

(A)
290
(B)
280
(C)
300
(D)
310
JEE Main 2019 (10 January Shift 1)
LEVELJEE Main

In a class of 140 students numbered 1 to 140, all even numbered students opted mathematics course, those whose number is divisible by 3 opted Physics course and those whose number is divisible by 5 opted Chemistry course. Then the number of students who did not opt for any of the three courses is :

(A)
102
(B)
42
(C)
1
(D)
38
JEE Main 2015
LEVELJEE Main

Let A and B be two sets containing four and two elements respectively. Then the number of subsets of the set , each having at least three elements is :

(A)
275
(B)
510
(C)
219
(D)
256
JEE Main 2022 (26 July Shift 2)
LEVELJEE Main

Let and . Then the number of elements in the set is ________

JEE Main 2022 (25 July Shift 2)
LEVELJEE Advanced

Let . Define and . Then the number of elements in the set is ________

JEE Main 2020 (7 January Shift 2)
LEVELBoard

Let . If and , then the number of elements in the smallest subset of containing both and is

JEE Main 2024 (30 Jan Shift 1)
LEVELJEE Main

Let and let denote the power set of . If the number of functions such that is and and is least, then is equal to ______

JEE Main 2022 (29 July Shift 1)
LEVELJEE Main

Let and . If , then the sum of all the elements in the set is equal to ______.