The "Josephus" problem is to identify the position to stand in a circle of 41 men if every 3rd man will be successively eliminated around the circle and you want to be the last remaining man.
Some accounts give 40 men; other accounts give every 7th man. So, to make it interesting, we'll generalize the problem and say that, given a circle of n people, and counting off by some m, how does one position oneself so that one is the last person standing?