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.
n(n-4)(n-5)/6
n(n-5)(n-6)/6
n(n-3)(n-4)/6
(n-1)(n-2)(n-3)/6
n(n-4)(n-5)/6
Solution
Let n 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,p3 in increasing order, where 1≤p1<p2<p3≤n. For no two people to be consecutive, the difference between their positions must be at least 2. So, we must have:
- p2−p1≥2
- p3−p2≥2
- p1+n−p3≥2 (This accounts for the circular arrangement).
Let's define new variables: x1=p2−p1 x2=p3−p2 x3=n−p3+p1
Then x1+x2+x3=(p2−p1)+(p3−p2)+(n−p3+p1)=n. Since no two people are consecutive, x1≥2, x2≥2, x3≥2.
Let y1=x1−2, y2=x2−2, y3=x3−2. Then y1,y2,y3≥0. Substituting: (y1+2)+(y2+2)+(y3+2)=n y1+y2+y3+6=n y1+y2+y3=n−6.
The number of non-negative integer solutions is (3−1(n−6)+3−1)=(2n−4).
This is equivalent to the formula kn(k−1n−k−1) for k=3: Number of ways = 3n(3−1n−3−1)=3n(2n−4).
Expanding: 3n(2n−4)=3n2!(n−6)!(n−4)!=3n2(n−4)(n−5)=6n(n−4)(n−5).
We must have n−4≥2, which means n≥6. If n<6, the number of ways is 0.
Therefore, the final answer is 6n(n−4)(n−5).