-3

There are $n$ chairs in a row. In how many ways can a teacher sit k students on these chairs so that no $2$ students sit next to each other (and obviously no $2$ students sit on $1$ chair)?

I think that is not a typical stars and bars problem. It is not exactly $\binom{n-1}{k-1}$ right?

N. F. Taussig
  • 79,074
endrew
  • 45

1 Answers1

0

You can either have a student at the right end or not. If so, the rest of the students need an empty seat to their right, so attach a seat to each. You have $k-1$ pairs of student/empty and (how many) empty seats left? How many ways to arrange them. If not, attach a seat again and ...

Ross Millikan
  • 383,099