Modified josephus problemDiscrete Mathematics Level 4
Assume there are 1159687 people standing in a circle.
First person has a sword, he kills the second person and hands over the the sword to the third person, the third person kills the fourth person and hands over the sword to the fifth....
All the persons do the same until only 1 survives. Who will survive at the end?