Medium INTEGER +4 / -1 PYQ · JEE Mains 2025

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 ________.

Answer (integer) 17280

Solution

<p>A : number of ways that all boys sit together $=5!\times 5!$</p> <p>B : number of ways if no 2 boys</p> <p>sit together $=4!\times 5!$</p> <p>$\mathrm{A} \cap \mathrm{B}=\phi$</p> <p>Required no. of ways $=5!\times 5!+4!\times 5!=17280$</p>

About this question

Subject: Mathematics · Chapter: Permutations and Combinations · Topic: Permutations

This question is part of PrepWiser's free JEE Main question bank. 135 more solved questions on Permutations and Combinations are available — start with the harder ones if your accuracy is >70%.

Drill 25 more like these. Every day. Free.

PrepWiser turns these solved questions into a daily practice loop. Chapter-wise drills, full mocks, AI doubt chat. No auto-renew.

Start free →