Quote:
Originally Posted by AW335TT
why would that number matter it says they are all sitting next to each other.
|
Because if there are only five seats in a row there are only 4 permutations in which both of them don't sit next to one other person. I've used 'o' to mark the other person.
bloxx
lboxx
xxolb
xxobl
In each of these cases only one sits next to another person, but not both. In every other conceivable case, both of them individually must sit next to at least one another person.
loxob
boxol
oblox
olbox
xolbo
xoblo
obolo
olobo
etc...