---
title: "Circular Seating of Boys and Girls with Adjacency Ban"
organization: "NityaDhi Digital Mathematics Lab (Asa Edtech Private Limited)"
url: "https://www.nityadhi.com/problems/hard-c11-w1-15-circular-seating-gap-and-adjacency-ban"
board: "JEE Foundation"
grade: "Class 11"
published_at: "2026-11-28T15:45:00+05:30"
---

# Circular Seating of Boys and Girls with Adjacency Ban

In how many ways can $5$ boys and $5$ girls be seated around a circular table such that no two girls sit together, and a particular boy $B_1$ does not sit adjacent to a particular girl $G_1$?

## Textbook Solution

First, find the total number of circular arrangements in which no two girls sit together:
- Seat the $5$ boys around the circular table in $(5 - 1)! = 4! = 24$ ways.
- These $5$ boys create $5$ gaps between consecutive boys. To ensure no two girls sit next to each other, the $5$ girls must occupy these $5$ gaps (one girl per gap) in $5! = 120$ ways.
- Total arrangements with no two girls adjacent $= 24 \times 120 = 2880$.

Now subtract the invalid arrangements in which $B_1$ and $G_1$ sit adjacent to each other:
- For any fixed circular arrangement of the $5$ boys ($24$ ways), $B_1$ is bordered by $2$ gaps (one to his left, one to his right).
- Place $G_1$ into either of these $2$ adjacent gaps ($2$ choices).
- Place the remaining $4$ girls into the remaining $4$ gaps in $4! = 24$ ways.
- Invalid arrangements $= 24 \times 2 \times 24 = 1152$.

Therefore, the number of valid seating arrangements is:
$$2880 - 1152 = 1728$$

## Vedic Shortcut

**NityaDhi Pin-$B_1$-First Symmetry Shortcut:** Avoid subtraction completely! Pin $B_1$ at the top of the circle to break rotational symmetry.
1. Seat the remaining $4$ boys around the circle in $4! = 24$ ways.
2. This leaves $5$ gaps for the girls, of which $2$ are adjacent to $B_1$. Thus $G_1$ can choose any of the remaining $5 - 2 = 3$ safe gaps.
3. Seat the other $4$ girls in the remaining $4$ gaps in $4! = 24$ ways.
Total $= 24 \times 3 \times 24 = 1728$ ($= 12^3$) in one single multiplication!

## Common Mistakes

1. **Treating the table as a straight row:** Using $5! \times 5!$ instead of $(5-1)! \times 5!$ overcounts by a factor of $5$.
2. **Dividing by $2$ for clockwise/anticlockwise symmetry:** Circular seating of people around a table treats clockwise and anticlockwise as distinct (only necklaces/garlands divide by $2$).