The number of permutations of the digits , , , ..., without repetition, which neither contain the string nor the string , is:
JEE Mathematics 2023 Question with Solution
Answer
Correct answer:4898
Step-by-step solution
Standard Method
Given: The digits are .
Find: The number of permutations which contain neither the string nor the string .
Use the inclusion-exclusion principle.
Count permutations containing the string by treating as one block.
Then the objects are , so the number of arrangements is
Count permutations containing the string by treating as one block.
Then the objects are , so the number of arrangements is
Count permutations containing both strings and .
Then the two blocks are and , so the number of arrangements is
By inclusion-exclusion, the number of permutations containing at least one of these strings is
The total number of permutations of distinct digits is
Therefore, the number containing neither string is
So, the required number is .
The solution shows 154 in one place and 2367 in another, but the working values used are , , and , which correctly correspond to the question strings and . Hence the final answer remains .
Direct Counting Shortcut
Given: Total permutations of to .
Find: Those with neither nor .
Treat each forbidden string as a single block.
Directly write:
Here, counts arrangements containing , counts arrangements containing , and is added back because arrangements containing both were subtracted twice.
Now compute:
Therefore, the required number is .
Common mistakes
Treating the forbidden strings or as unordered groups is incorrect. They must appear in exactly that order as strings. So is one block, but or are not counted.
Forgetting inclusion-exclusion gives an incorrect count. If you subtract arrangements containing and arrangements containing separately, the cases containing both strings are removed twice. Add back once.
Using the wrong block count is a common error. When is treated as one block, the total objects become , not . When is treated as one block, the total objects become , not .
Practice more Applications of P&C questions
Get unlimited AI-adaptive practice, mastery tracking, and an AI tutor that explains every step — free to start.
Related questions
- The number of strictly increasing functions f from the set 1, 2, 3, 4, 5, 6 to the set 1, 2, 3,, 9 such that…Medium · JEE 2026
- Let S = (m, n): m, n 1, 2, 3,....., 50. If the number of elements (m, n) in S such that 6^m+9^n is a multiple…Medium · JEE 2026
- The largest n N, for which 7^n divides 101!, is:Easy · JEE 2026
- If ( 1^15C0 + 1^15C1) ( 1^15C1 + 1^15C2) ( 1^15C12 + 1^15C13) = ^13^14C0 ^14C1 ^14C12, then 30 is equal to.Medium · JEE 2026
- Let ABC be a triangle. Consider four points p1, p2, p3, p4 on the side AB, five points p5, p6, p7, p8, p9 on…Medium · JEE 2026
- The number of 4-letter words, with or without meaning, which can be formed using the letters PQRPRSTUVP, is:Medium · JEE 2026
