40 people are sitting around a circular table. Starting from 1 every 2nd person is killed. This process continues till only one person remains. How is the survivor? (Josephus riddle)	Options:
A) 22	B) 17	C) 88	D) 237	E) 121
Write the given number in Binary form: 101000   Shift the left digit to the right hand side: 010001   Convert this number into decimal and this could be the number of the survivor: 17   Sol 2: Write the given number as a sum of 2K + M where K should be maximum power less than the given number.   Survivor number is given by 2M + 1   this this case 40 &lt; 25 + 8   So M =8, Survivor number = 2(8) + 1 = 17   Answer:17
<result>B</result>
40 people are sitting around a circular table. Starting from 1 every 2nd person is killed. This process continues till only one person remains. How is the survivor? (Josephus riddle)