GATE Computer ScienceHardGATE CS (PYQ pattern)
100 people stand in a circle numbered 1 to 100. Starting with person 1, every second person still in the circle is eliminated (1 goes first, then 3, 5, …), continuing round until one remains. Which number survives?
- A. 73
- B. 100
- C. 72
- D. 64
Correct answer: C. 72
With 2 eliminated first the survivor is J(100) = 2·(100 − 64) + 1 = 73. Eliminating 1 first is the same game started one place earlier, so every label shifts down by 1: survivor 73 − 1 = 72.
More Discrete Mathematics questions
- 14 identical sweets are distributed among 4 children A, B, C, D so that each child gets at least 1 and at most 5. In how many…
- How many distinct arrangements of the letters of ABRACADABRA have no two identical letters adjacent?
- How many odd numbers appear in rows 0 to 99 of Pascal's triangle (row n being C(n,0), …, C(n,n))?
- What is the exponent of the largest power of 3 dividing C(200, 100)?
- Evaluate Σ{k=0}^{10} k · C(10, k)².
- Evaluate Σ{k=0}^{10} C(10, k) · C(12, k + 3).