JEE Main · 2025 · 23 Jan 2025 · Shift 2 · Permutations and Combinations

WhatsApp Email
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

Solution

All boys together: treat the 5 boys as one block. Arranging this block with the 4 girls gives arrangements, and the boys within the block can be arranged in ways:


No two boys together: first arrange the 4 girls in ways, creating 5 gaps (before, between, and after the girls). Placing the 5 boys into these 5 gaps, one per gap, is done in ways:


The two cases are mutually exclusive, so the total number of arrangements is

JEE Main · 2025 · 23 Jan 2025 · Shift 2 · Integer answer

More JEE Main questions on Permutations and Combinations

  1. The number of strictly increasing functions f from the set to the set such that for , is equal to :
    JEE Main 2026View solution →
  2. Let . If the number of elements ( ) in S such that is a multiple of 5 is p and the number of elements …
    JEE Main 2026View solution →
  3. The largest , for which divides 101!, is:
    JEE Main 2026View solution →
  4. Let ABC be a triangle. Consider four points , on the side AB , five points on the side BC and four points …
    JEE Main 2026View solution →
  5. Let S be the set of the first 11 natural numbers. Then the number of elements in and the product of all elements of B is even is
    JEE Main 2026View solution →
  6. The number of 4-letter words, with or without meaning, which can be formed using the letters PQRPQRSTUVP, is ______.
    JEE Main 2026View solution →