Let Pn denote the number of ways in which three people can be selected out of n people sitting in a row, if no two of them are consecutive. If, Pn+1−Pn=15, then the value of n, is
Pn=n−2C3andPn+1=n−1C3∴n−1C3−n−2C3=15⇒n−2C2+n−2C3−n−2C3=15⇒n−2C2=15⇒(n−2)!2!(n−4)!=15⇒(n−2)(n−3)=30⇒n=8