This question already has an answer here:
I've been trying to solve this problem, but i don't know what technique i should be applying and my answers are coming out to be wrong. I've tried putting them in different groups but non of them give me the answer.
Question: There are 10 people standing in a straight line. Find the number of ways to choose 3 of them such that the no 2 of them consecutive.