Sigma Percentile
JEE Main 2021 (25 February Shift 1)
LEVELJEE Main

Animated Solution for Mathematics - Permutations and Combinations: The total number of numbers, lying between 100 and 1000 that can be formed with the digits 1, 2, 3, 4, 5, if the repetition of digits is not allowed and numbers are divisible by either 3 or 5 is

Enter Numerical Value:

Visualized Solution

Visualizing the Constraints

  • Range: (3-digit numbers)
  • Available Digits:
  • Constraint: No Repetition of digits allowed

The Logic Bridge: Inclusion-Exclusion

  • Condition: Divisible by 3 OR 5
  • Using Principle of Inclusion-Exclusion:

Case 1: Divisible by 5 (Setup)

  • Condition: Last digit must be 0 or 5.
  • Available digits:
  • Therefore, the units place must be exactly 5 (1 way).

Calculating

  • Remaining 2 places (Hundreds, Tens)
  • Available digits: 4 (since 5 is used)
  • Number of ways =

Case 2: Divisible by 3 (Setup)

  • Condition: Sum of digits must be a multiple of 3.
  • We need subsets of 3 digits from

Calculating

  • Valid subsets: , , ,
  • Each subset can be arranged in ways.
  • Total

Case 3: Divisible by 15 (Intersection)

  • Condition: Divisible by both 3 and 5.
  • Must end in 5 AND sum of digits is a multiple of 3.

Calculating

  • Subsets containing 5: and
  • From ending in 5: 135, 315 (2 numbers)
  • From ending in 5: 345, 435 (2 numbers)

Final Calculation

  • Applying the formula:

The Sigma Insight: Fundamental Principle of Counting

Solution Diagram

The Architecture of Combinatorics

A Journey Through Constraints
Welcome, future engineer. Today, we aren't just solving a counting problem; we are building a logical structure. When you face a problem like this in the JEE Advanced, the temptation is to start scribbling numbers immediately. Resist that urge.
Instead, pause and visualize the constraints. We are tasked with forming 3-digit numbers using the set without repetition, such that the resulting number is divisible by either 3 or 5. This is a classic test of your ability to manage overlapping conditions.

The Principle of Inclusion-Exclusion

Our Logical Compass
Whenever you see the word 'OR' in a counting problem, your brain should immediately trigger the Principle of Inclusion-Exclusion. We are looking for the size of the union of two sets: those divisible by 3 and those divisible by 5.
The formula is elegant and powerful:
This formula is our safety net. It ensures that we don't double-count the numbers that are divisible by both 3 and 5—the multiples of 15. Let’s break this down piece by piece.

Phase 1

The Divisibility by 5
Divisibility by 5 is a 'positional' constraint. A number is divisible by 5 if its last digit is 0 or 5. Looking at our set , we see that 0 is absent.
Thus, the units place is locked: it must be 5. With the units place fixed, we have two spots left (hundreds and tens) and four digits remaining . The number of ways to fill these two spots is a simple permutation problem:
We have found 12 numbers divisible by 5. Simple, clean, and effective.

Phase 2

The Divisibility by 3
Divisibility by 3 is a 'summation' constraint. A number is divisible by 3 if and only if the sum of its digits is a multiple of 3. We need to find all subsets of 3 digits from our set that satisfy this.
Let's be systematic:
1. (Sum = 6) 2. (Sum = 9) 3. (Sum = 9) 4. (Sum = 12)
Each of these 4 subsets can be arranged in ways. Therefore, the total count for is:

Phase 3

The Intersection (The Multiples of 15)
Now, we must identify the numbers that were counted in both groups. These are the numbers that end in 5 AND have a digit sum divisible by 3. Looking back at our valid subsets, which ones contain the digit 5? Only and .
For the subset , if the last digit is 5, the remaining two digits (1 and 3) can be arranged in ways (135 and 315). Similarly, for , the remaining digits (3 and 4) can be arranged in ways (345 and 435).
Thus:

The Grand Finale

We have all our components. We have the count of numbers divisible by 3, the count of those divisible by 5, and we have identified the overlap that we must remove to avoid double-counting.
Applying our formula one last time:
There it is. 32 unique numbers. You see, the beauty of this problem isn't in the arithmetic; it's in the organization. By breaking a complex 'OR' condition into manageable, distinct pieces, you turned a chaotic problem into a clear, logical path. Keep this discipline, and no problem will ever be too complex for you to solve.

Similar Questions

JEE Main 2023 (15 April Shift 1)
LEVELJEE Main

The total number of three-digit numbers, divisible by 3, which can be formed using the digits 1, 3, 5, 8, if repetition of digits is allowed, is

(A)
21
(B)
20
(C)
22
(D)
18
JEE Main 2023 (25 January Shift 2)
LEVELBoard

The number of numbers, strictly between 5000 and 10000 can be formed using the digits 1, 3, 5, 7, 9 without repetition, is

(A)
6
(B)
12
(C)
120
(D)
72
JEE Main 2022 (26 July Shift 2)
LEVELJEE Main

Numbers are to be formed between 1000 and 3000, which are divisible by 4, using the digits 1, 2, 3, 4, 5 and 6 without repetition of digits. Then the total number of such numbers is ______.

JEE Main 2026 (24 January Shift 1)
LEVELJEE Main

The number of numbers greater than 5000, less than 9000 and divisible by 3, that can be formed using the digits 0, 1, 2, 5, 9, if the repetition of the digits is allowed, is ......... .

JEE Main 2023 (12 April Shift 1)
LEVELJEE Main

The number of five-digit numbers, greater than 40000 and divisible by 5, which can be formed using the digits 0, 1, 3, 5, 7 and 9 without repetition, is equal to

(A)
132
(B)
120
(C)
72
(D)
96
JEE(ADVANCED)-201
LEVELBoard

The number of 5 digit numbers which are divisible by 4, with digits from the set and the repetition of digits is allowed, is ________.

JEE Main 2023 (13 April Shift 2)
LEVELJEE Main

Total numbers of 3-digit numbers that are divisible by 6 and can be formed by using the digits 1, 2, 3, 4, 5 with repetition, is ________

JEE Main 2023 (30 January Shift 1)
LEVELJEE Main

Number of 4-digit numbers (the repetition of digits is allowed) which are made using the digits 1, 2, 3 and 5, and are divisible by 15, is equal to ____.

JEE Main 2021 (22 July Shift 1)
LEVELBoard

If the digits are not allowed to repeat in any number formed by using the digits 0, 2, 4, 6, 8, then the number of all numbers greater than 10,000 is equal to

JEE Main 2019 (9 January)
LEVELBoard

The number of natural numbers less than 7,000 which can be formed by using the digits 0,1,3,7,9 (repetition of digits allowed) is equal to :

(A)
250
(B)
374
(C)
372
(D)
375