The correct option is
C 9
We have n people and we have to choose 3. Let A,B,C be those person
So,
x1 denotes number of to left of A
x2 denotes number of to left of A and B
x3 denotes number of to left of B and C
x4 denotes number of to left of B
x1+x2+x3+x4=n−3
As A,B,C cannot be consecutive , hence
x2,x3≥1
x1,x4≥0
Replace x2=x′2+1 and x3=x′3+1 so that
x′2,x′3≥1
x1+x′2+1+x′3+1+x4=n−3
x1+x′2+x′3+x4=n−5
AS x1,x′2,x′3,x4≥0 so now we can apply formula for number of non-negative integral solution.
Pn=n−5+4−1C4−1=n−2C3
Pn=n−2C3
Pn−1=n−3C3
As per question
Pn−Pn−1=15
n−2C3−n−3C3=15
(n−2)(n−3)(n−4)6−(n−3)(n−4)(n−5)6=15
(n−3)(n−4)[n−2−n+5]=90
(n−3)(n−4)=30
(n−3)(n−4)=6×5
n−3=6
n=9