# How many ways are there to sit $n$ people to sit on bench with length $n$ assume that John must see Eric on his left

I have the following problem :

How many ways are there to sit $n$ people to sit on bench with length $n$ assume that John must see Eric on his left.

I have the solution for this problem but I don't completely understand the answer :

$$\binom n2*1*(n-2)!$$

I understand the part of $(n-2)!$, But I don't know how $\binom n2$ implies that John sees Eric on his left? from $\binom n2$ we get all the possibilities for Eric and John to sit on the bench but how do we know its a valid possibility meaning that John sees John to his left.

Note : I do know the solution of $\frac{n!}{2}$ I'd like to know this solution as well.

Thank you, very much!

• Once we choose the two seats to put reserved signs on, which of our two people sits where is determined. – André Nicolas Apr 12 '16 at 18:10
• @AndréNicolas as far as I understand $\binom n2$ give us the amount of possibilities to sit two people in bench of $n$, but we only need the possibilities John sees Eric to his left, I think we get more possibilities then we should since the formula also count the possibilities that John sees Eric to his $right$. – John C Apr 12 '16 at 18:24
• The number $\binom{n}{2}$ counts the number of ways to choose the seats that will be occupied by John and/or Eric. Once we have chosen this pair of seats, where John and Eric actually sit is determined by the condition that John sees Eric somewhere to his left. – André Nicolas Apr 12 '16 at 18:28
• I see it now!, Thanks:) – John C Apr 12 '16 at 18:47
• You are welcome. – André Nicolas Apr 12 '16 at 18:48

We can regard the bench as a sequence of chairs. Now, we first fix which two seats John and Eric would sit. This is the question of which two seats they would sit and how many of them exist. This is basically equivalent to choosing two of the seats among $n$ seats; hence, $n\choose{2}$. Now, given that we choose how they sit, there is only one way to allocate John and Eric in these seats given the requirement that one should sit to the left of the other, hence the $1$. Finally, we would need to seat the rest $(n-2)$ people to the remaining $(n-2)$ seats, which would happen in $(n-2)!$ different ways. Therefore, the total number of ways would be as you remarked $${n\choose 2 }\times 1\times (n-2)!$$
• I don't understand how $\binom n2$ implies John sees Eric to his left I think we get more possibilities then we should using this formula, because we don't consider the order between them, can you please explain? – John C Apr 12 '16 at 18:28
• It does not, the part that it is implied is when I multiply this by $1$. Normally, there are $2$ ways of seating Eric and John in these two seats, if we get rid of the requirement that Eric is to the left of John. However, since we want them to sit in a particular order, we should discount for that, which gives rise to the multiplication with $1$ rather than $2$ because there is only one way after choosing the seats that Eric is to the left of John. Note that if instead we didn't care about this and proceeded without the restriction, from the above calculations you would reach $n!$ asexpected. – Mollie Apr 12 '16 at 18:32