This question already has an answer here:
When Mr.Mike finally retires, he is going to have a party on a cruise ship with all 12,184 of his former students. Each of the students will be given a number as they board the carrier. All his former students will line up around the edge to cheerfully greet him. Mr.Mike will shake hands with student number one, then push number two overboard; shake hands with student number three and then push number four overboard; shake hands with number five and push six overboard. This pattern continues as he repeatedly goes around and around and around the whole ship, shaking then shoving, until finally there is only one student left. Which of the 12,184 students will that be?
This problem is different from the table one. You have a fixed amount of 12, 184 students.
Anyway, can anyone provide the explanation for this problem? I tried finding the solutions since this is identical to the Josephus problem.