Solveeit Logo

Question

Question: If n people are sitting on a circle, then what are the number of ways in which 3 people can be selec...

If n people are sitting on a circle, then what are the number of ways in which 3 people can be selected such that no two of them are consecutive.

A

n(n-4)(n-5)/6

B

n(n-5)(n-6)/6

C

n(n-3)(n-4)/6

D

(n-1)(n-2)(n-3)/6

Answer

n(n-4)(n-5)/6

Explanation

Solution

Let nn be the number of people sitting in a circle. We need to select 3 people such that no two of them are consecutive.

Let the positions of the three selected people be p1,p2,p3p_1, p_2, p_3 in increasing order, where 1p1<p2<p3n1 \le p_1 < p_2 < p_3 \le n. For no two people to be consecutive, the difference between their positions must be at least 2. So, we must have:

  1. p2p12p_2 - p_1 \ge 2
  2. p3p22p_3 - p_2 \ge 2
  3. p1+np32p_1 + n - p_3 \ge 2 (This accounts for the circular arrangement).

Let's define new variables: x1=p2p1x_1 = p_2 - p_1 x2=p3p2x_2 = p_3 - p_2 x3=np3+p1x_3 = n - p_3 + p_1

Then x1+x2+x3=(p2p1)+(p3p2)+(np3+p1)=nx_1 + x_2 + x_3 = (p_2 - p_1) + (p_3 - p_2) + (n - p_3 + p_1) = n. Since no two people are consecutive, x12x_1 \ge 2, x22x_2 \ge 2, x32x_3 \ge 2.

Let y1=x12y_1 = x_1 - 2, y2=x22y_2 = x_2 - 2, y3=x32y_3 = x_3 - 2. Then y1,y2,y30y_1, y_2, y_3 \ge 0. Substituting: (y1+2)+(y2+2)+(y3+2)=n(y_1+2) + (y_2+2) + (y_3+2) = n y1+y2+y3+6=ny_1 + y_2 + y_3 + 6 = n y1+y2+y3=n6y_1 + y_2 + y_3 = n-6.

The number of non-negative integer solutions is ((n6)+3131)=(n42)\binom{(n-6) + 3 - 1}{3 - 1} = \binom{n-4}{2}.

This is equivalent to the formula nk(nk1k1)\frac{n}{k} \binom{n-k-1}{k-1} for k=3k=3: Number of ways = n3(n3131)=n3(n42)\frac{n}{3} \binom{n-3-1}{3-1} = \frac{n}{3} \binom{n-4}{2}.

Expanding: n3(n42)=n3(n4)!2!(n6)!=n3(n4)(n5)2=n(n4)(n5)6\frac{n}{3} \binom{n-4}{2} = \frac{n}{3} \frac{(n-4)!}{2!(n-6)!} = \frac{n}{3} \frac{(n-4)(n-5)}{2} = \frac{n(n-4)(n-5)}{6}.

We must have n42n-4 \ge 2, which means n6n \ge 6. If n<6n < 6, the number of ways is 0.

Therefore, the final answer is n(n4)(n5)6\frac{n(n-4)(n-5)}{6}.