Hi,
There are 2n people sitting in a circle . The first n are good and next n are bad. Now i have to choose minimum k such that all the bad n are eliminated before the first n. How do i find such k.
Please point me to links or documents ? Is there any recursive formula ?
Regards,
Terry
Josephus problem modified
Moderator: Board moderators
-
- Experienced poster
- Posts: 105
- Joined: Wed May 25, 2005 7:23 am
Re: Josephus problem modified
a problem from cerc 1995. enumerating every possible k will do.temper_3243 wrote:Hi,
There are 2n people sitting in a circle . The first n are good and next n are bad. Now i have to choose minimum k such that all the bad n are eliminated before the first n. How do i find such k.
Please point me to links or documents ? Is there any recursive formula ?
Regards,
Terry