12 Oct '11 17:30>
It's said that in the early days of Roman conquest the legions had trapped a group of 100 resistance fighters in a cave. They also had two spies among the 100 resistance fighters. As surrender to Romans was undesirable, the 100 came up with an alternative; mass suicide. But how? They decided to form a big circle, and then every third person would be killed by the person on his or her right and left. The slaughter would go round and round until only two people would be left, and they would then slay each other.
Example with 8 people:
1-2-3-4-5-6-7-8... #3 killed by #2 and #4
1-2-4-5-6-7-8... #6 killed by #5 and #7
1-2-4-5-7-8... #1 killed by #8 and #2
2-4-5-7-8... #5 killed by #4 and #7
2-4-7-8... #2 killed by #8 and #2
4-7-8... #8 killed by #4 and #7
#4 and #7 survive.
Obviously the spies wanted to be the last two people left alive. But where in the circle should they start when there are 100 people? How about if there are n people?
Example with 8 people:
1-2-3-4-5-6-7-8... #3 killed by #2 and #4
1-2-4-5-6-7-8... #6 killed by #5 and #7
1-2-4-5-7-8... #1 killed by #8 and #2
2-4-5-7-8... #5 killed by #4 and #7
2-4-7-8... #2 killed by #8 and #2
4-7-8... #8 killed by #4 and #7
#4 and #7 survive.
Obviously the spies wanted to be the last two people left alive. But where in the circle should they start when there are 100 people? How about if there are n people?