number of people stand in a circle. The value of is of the form , where is a natural number . There is a sword in the hand of the person, he kills the person and passes on the sword to the third, who kills the fourth and gives the sword to the 5th, this goes on until one person is left. At what number was that person standing at the start?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
We can prove this by induction. First, n = 0 , X = 1 , clearly, as the number one is the only person, the proccess will never take place.
Now, let's suppose that for n the survivor is the number 1. That is, when initially there are X = 2 n people, the one who's left at the final is the 1 st person.
If there are X = 2 n + 1 people at the beginning, after one move, all the 2 k th persons will die as each ( 2 k + 1 ) th person kills the one who's next. Therefore, after one turn only the half of the initial people will survive, that is 2 n people, and the sword will end in 1 st 's hands. We apply our induction hypothesis, thus, 1 st person will be the last one alive.
Note that if there are X = 2 n + 1 , the person that survives is the 3 rd one.