Separate JEE Main performance lab

Want structured exam practice?

Explore the Mathbee Test Series with free chapter PYQs, NTA-style Booster mocks, paid shift-wise PYPs and focused performance analytics.

Explore test series
Not the exact question you were looking for?

Paste your question to our Mathbee AI Mentor below to get an instant step-by-step solution.

Permutations & Combinations
all-together-or-no-two-adjacent
JEE Main 2025 PYQ

The number of ways, 5 boys and 4 girls can sit in a row so that either all the boys sit together or no two boys sit together, is ?.

The number of ways, 5 boys and 4 girls can sit in a row so that either all the boys sit together or no two boys sit together, is ________.

Step-by-Step Solution

Step 1: The two conditions are mutually exclusive. If all five boys sit together, treat them as one block: 5!·5!=14,400 arrangements.

Step 2: If no two boys sit together, arrange the four girls in 4! ways, then place the five boys in the five gaps in 5! ways, giving 2,880.

Step 3: The required union has 14,400+2,880=17,280 arrangements.

Correct Answer: 17280
Mathbee AI Mentor (Free Demo)

Confused by the solution? Ask the AI to explain a specific step, tell you where you went wrong, or break down the key trap in this question.

Related Permutations & Combinations Questions

Restricted Group Selection · JEE Main 2022 PYQ
There are ten boys B 1 , B 2 , ......., B 10 and five girls G 1 , G 2 , ........, G 5 in a class. Then the num…
Gcd And Coprimality Counting · JEE Main 2022 PYQ
The total number of 3-digit numbers, whose greatest common divisor with 36 is 2, is ?.
Repeated Digit Numbers · JEE Main 2022 PYQ
The total number of three-digit numbers, with one digit repeated exactly two times, is ?.
Digit Sum Congruence Counting · JEE Main 2022 PYQ
The number of 3-digit odd numbers, whose sum of digits is a multiple of 7, is ?.
Matrix Entry Sum Counting · JEE Main 2022 PYQ
Let A be a 3 × 3 matrix having entries from the set -1, 0, 1. The number of all such matrices A having sum of …

Practise Permutations & Combinations PYQs chapter-wise

Choose a chapter, year, topic and question count in the Mathbee Test Series portal.

Practise chapter-wise JEE Main PYQs
Separate JEE Main performance lab

Want structured exam practice?

Explore the Mathbee Test Series with free chapter PYQs, NTA-style Booster mocks, paid shift-wise PYPs and focused performance analytics.

Explore test series