Mathematics · Permutations and Combinations

JEE Main 2025 — 23 January, Evening Shift — Question 21

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: 17280

Numerical answer — enter this value.

Step-by-step solution

A : number of ways that all boys sit together =5!×5!=5!\times 5!

B : number of ways if no 2 boys sit together =4!×5!=4!\times 5!

A∩B=ϕ\mathrm{A} \cap \mathrm{B}=\phi

Required no. of ways =5!×5!+4!×5!=17280=5!\times 5!+4!\times 5!=17280

Answer key and solution verified before publishing.

Practise Permutations and Combinations

Start with this question, then two more from the same chapter — with a tutor that explains every step. Free.

Exam
JEE Main 2025
Subject
Mathematics
Chapter
Permutations and Combinations
Topic
Applications of Permuations and Combination
The number of ways, 5 boys and 4 girls can sit in a row so that… | JEE Main 2025 PYQ with Solution · DhiX AI