1
$\begingroup$

I have the following question :

$n$ students $k$ tutors find $F(n,k)$ so that there is no tutor sit next to other tutor. Assume the students are not distinguishable and also the tutors not distinguishable,

What I did

I looked at $i$ person and divided to cases.

If $i$ is a tutor then we have to put a student after it so $F(n-1,k)$ If $i$ is a student then we could put a student after it or put a tutor after it. so $F(n-1,k)+F(n,k-1)$

So I get $F(n,k)=F(n-1,k)+F(n-1,k)+F(n,k-1)$ which is wrong

Any ideas, why my answer is wrong?

Thanks in advance to all helpers.

  • 0
    Are the students distinguishable from each other? Similarly, are the tutors distinguishable from each other?2017-02-10
  • 0
    No, assume the students are not distinguishable and also the tutors not distinguishable, Edited.2017-02-10

1 Answers 1

2

Presumably everyone is to be seated in a line. The $k$ tutors divide the students into $k+1$ possibly empty groups. Each of the internal groups must contain at least one student so that the two tutors on the boundary of the group are not seated next to each other. This accounts for $k-1$ of the students, so we need only divide the remaining $n-k+1$ students into $k+1$ groups. This can be done in $$ \binom{n+1}{k} $$ ways.

(Imagine seating the remaining students in a line and placing the tutors between them. There are $n-k+1 + k = n+1$ people in total, and we must choose which $k$ of them are tutors.)

Edit:

The reason why your answer is incorrect is that in the case where the first person is a tutor, it is indeed the case that the second person must be a student. But this then accounts for one tutor and one student, so there are now $n-1$ students and $k-1$ tutors which must be placed, which can be done in $F(n-1, k-1)$ ways, not $F(n-1, k)$ ways. You forgot to decrease the number of tutors which must still be placed.

Similarly, if the first person is a student, then there are no restrictions. There are now $n-1$ students and $k$ tutors, and the only restriction is that two tutors can not be seated next to each other, so there are $F(n-1, k)$ ways in which the people can be seated in this case. This gives us that

$$ F(n, k) = F(n-1, k-1) + F(n-1, k). $$

If you want to further divide up the case in which the first person is a student into the cases where the second person is a student, and where the second person is a tutor, then you must remember that if the second person in a tutor, then the third person must be a student, so there are $F(n-2, k) + F(n-2, k-1)$ ways in which the people can be placed in this case, not $F(n-1, k) + F(n, k-1).$

  • 0
    Thank you for answer yet, I need to find the ways as form of $F(n,k)$2017-02-10
  • 0
    $F(n, k) = \binom{n+1}{k}$. Or do you want a recurrence relation?2017-02-10
  • 0
    Yes, like the following $F(n,k)=F(n-1,k)+F(n-1,k)+F(n,k-1)$ (honestly I didn't know there is a different term for that in English I thought it called recursion)2017-02-10
  • 1
    I have edited my answer. I hope that it is helpful.2017-02-10