Sigma Percentile
JEE Main 2023 (10 April Shift 1)
LEVELJEE Main

Animated Solution for Mathematics - Permutations and Combinations: The number of permutations, of the digits 1, 2, 3, ..., 7 without repetition, which neither contain the string 153 nor the string 2467, is _______ .

Enter Numerical Value:

Visualized Solution

Understanding the Digits

  • Given digits:
  • Constraint 1: Must not contain the string '153'
  • Constraint 2: Must not contain the string '2467'
  • Repetition is not allowed.

Total Permutations

  • Total digits =
  • Total unrestricted permutations =

The Strategy: PIE

  • Let = set of permutations containing '153'
  • Let = set of permutations containing '2467'
  • Required =
  • By Principle of Inclusion-Exclusion:

Counting Set : The '153' Block

  • Treat '153' as a single block.
  • Remaining digits: (4 digits)
  • Total items to arrange =

Calculating

  • Note: The internal order of '153' is fixed.

Counting Set : The '2467' Block

  • Treat '2467' as a single block.
  • Remaining digits: (3 digits)
  • Total items to arrange =

Calculating

  • Note: The internal order of '2467' is fixed.

The Overlap:

  • We need permutations containing BOTH '153' and '2467'.
  • Treat '153' as Block 1.
  • Treat '2467' as Block 2.
  • Total items to arrange = blocks.

Calculating

Applying PIE Formula

Final Subtraction

  • Required Permutations =
  • Required =
  • Required =

The Sigma Insight: Linear Permutations

Solution Diagram

Analyzing the Total Universe

First, let us look at the big picture. We have seven distinct digits: .
If there were no restrictions, the number of ways to arrange these digits is given by the permutation of distinct objects, which is .
For our seven digits, the total number of unrestricted permutations is :
This value represents our total universe of possibilities.

The 'Tie' Method for Constraints

Now, let us tackle the restrictions. The problem forbids the string '153' and the string '2467'.
To handle a constraint where a group of digits must stay together, we use the 'Tie Method'. Imagine taking the digits 1, 5, and 3 and tying them together into a single, unbreakable block, .
Now, instead of seven individual digits, we have and the remaining digits . This gives us five items to arrange:
Since the internal order of '153' is fixed, we do not need to multiply by any internal permutations.
We apply the same logic to the second constraint. We tie 2, 4, 6, and 7 into a single block, .
We are left with and the digits , totaling four items to arrange:

The Elegant Dance of PIE

We have calculated the 'bad' cases for each constraint, but we must account for the overlap. If a permutation contains both '153' and '2467', we have counted those cases in both and .
This is where the Principle of Inclusion-Exclusion (PIE) comes to our rescue. We need to find the number of permutations containing both strings, denoted as .
In this scenario, we treat '153' as block and '2467' as block . Since all seven digits are accounted for in these two blocks, we are simply arranging two items:
Now, we use the PIE formula to find the total number of 'bad' permutations:
These 142 permutations are the ones that contain at least one of the forbidden strings.

The Final Victory

We are almost there! We know the total number of permutations is 5040, and the number of 'bad' permutations is 142.
To find the number of valid permutations, we subtract the bad cases from the total:
By breaking the problem down into manageable blocks and applying the Principle of Inclusion-Exclusion, we have navigated through the complexity to find the exact answer of 4898.

Similar Questions

JEE Main 2024 (08 Apr Shift 1)
LEVELJEE Main

The number of 3-digit numbers, formed using the digits 2, 3, 4, 5 and 7, when the repetition of digits is not allowed, and which are not divisible by 3, is equal to__________

JEE Main 2023 (30 January Shift 2)
LEVELBoard

The number of seven digits odd numbers, that can be formed using all the seven digits 1, 2, 2, 2, 3, 3, 5 is ____.

JEE Main 2020 - 7 Jan (Morning)
LEVELBoard

Total number of 6-digit numbers in which only and all the five digits 1, 3, 5, 7 and 9 appear, is

(A)
(B)
(C)
(D)
JEE Main 2023 (24 January Shift 1)
LEVELJEE Main

The number of 9 digit numbers, that can be formed using all the digits of the number 123412341 so that the even digits occupy only even places, is ____.

JEE Main 2020 (7 January Shift 1)
LEVELJEE Main

Total number of six-digit numbers in which only and all the five digits 1, 3, 5, 7 and 9 appear, is

(A)
(B)
(C)
(D)
JEE Main 2023 (24 January Shift 2)
LEVELBoard

The number of integers, greater than 7000 that can be formed, using the digits 3, 5, 6, 7, 8 without repetition, is

(A)
120
(B)
168
(C)
220
(D)
48
JEE Advanced 2009
LEVELJEE Main

The number of seven digit integers, with sum of the digits equal to 10 and formed by using the digits 1, 2 and 3 only, is

(A)
55
(B)
66
(C)
77
(D)
88
JEE Advanced 2000
LEVELJEE Main

How many different nine digit numbers can be formed from the number 223355888 by rearranging its digits so that the odd digits occupy even positions ?

(A)
16
(B)
36
(C)
60
(D)
180
JEE Advanced 1989
LEVELJEE Main

A five-digit numbers divisible by 3 is to be formed using the numerals 0, 1, 2, 3, 4 and 5, without repetition. The total number of ways this can be done is

(A)
216
(B)
240
(C)
600
(D)
3125
JEE Main 2021 (26 February Shift 1)
LEVELJEE Main

The number of seven digit integers with sum of the digits equal to 10 and formed by using the digits 1, 2 and 3 only is

(A)
77
(B)
42
(C)
35
(D)
82