UPSC CSAT 2023 Q54: Ring Passed Around a Circle of Children — Solved

40 children are standing in a circle and one of them (say child-1) has a ring. The ring is passed clockwise. Child-1 passes on to child-2, child-2 passes on to child-4, child-4 passes on to child-7 and so on. After how many such changes (including child-1) will the ring be in the hands of child-1 again?

  1. 14
  2. 15
  3. 16
  4. 17

Answer: (b) 15

Solution

  1. Write down the jumps. Child-1 to child-2 is a jump of 1. Child-2 to child-4 is a jump of 2. Child-4 to child-7 is a jump of 3. So pass number k moves the ring k places clockwise.
  2. Find the total distance after n passes. After n passes the ring has moved 1 + 2 + 3 + … + n = n(n + 1)/2 places. This is the nth triangular number, T(n).
  3. Find the holder. The ring starts with child-1, so after n passes it is with child number 1 + T(n). There are 40 children in the circle, so child-41 is child-1 again, child-42 is child-2, and so on. Take the position modulo 40.
  4. Set the condition. The ring is back with child-1 when T(n) is a multiple of 40. That means n(n + 1)/2 = 40m, or n(n + 1) = 80m.
  5. Use the factors of 80. 80 = 16 × 5. Of n and n + 1, one is odd. So the even one must be divisible by 16 by itself. One of the two must also be divisible by 5.
  6. Find the smallest n. The first time 16 divides n or n + 1 is n = 15 (n + 1 = 16) or n = 16. For n = 15: 15 × 16 = 240 = 3 × 80. This works. No smaller n has 16 dividing n or n + 1, so no smaller n works.
  7. Check it by listing the holders. T(n) for n = 0 to 15 is 0, 1, 3, 6, 10, 15, 21, 28, 36, 45, 55, 66, 78, 91, 105, 120. Add 1 and take the result modulo 40. The holders are child 1, 2, 4, 7, 11, 16, 22, 29, 37, 6, 16, 27, 39, 12, 26, 1. Child-1 holds the ring again after the 15th pass, because T(15) = 120 = 3 × 40.
  8. Read the question's count. Each pass is one "change" of hands. The first change is child-1 passing to child-2, which is why the question says "including child-1". The ring changes hands 15 times before it is back with child-1.

Answer: 15

Option-wise explanation

  • a: incorrect — After 14 passes the ring has moved T(14) = 105 places, and 105 is not a multiple of 40. The ring is with child-26, not child-1. This is the off-by-one slip of leaving out the first pass from child-1.
  • b: correct — After 15 passes the ring has moved T(15) = 15 × 16/2 = 120 = 3 × 40 places. That is exactly three full rounds, so child-1 holds it again. No smaller n gives a multiple of 40.
  • c: incorrect — T(16) = 136, and 136 = 3 × 40 + 16, so the ring is with child-17. The trap: the list of holders from start to finish has 16 names (child-1 at both ends), and counting holders instead of passes gives 16.
  • d: incorrect — T(17) = 153, and 153 = 3 × 40 + 33, so the ring is with child-34. This value comes from overcounting, for example by counting the starting holder and the final holder as extra changes.

How to eliminate

Back-solve from the options. The ring is back with child-1 after n passes only when T(n) = n(n + 1)/2 is a multiple of 40. Work out T(n) for each option:

  • n = 14: 14 × 15/2 = 105. This ends in 5, so it is not a multiple of 40.
  • n = 15: 15 × 16/2 = 120 = 3 × 40. This works.
  • n = 16: 16 × 17/2 = 136. This is not a multiple of 40.
  • n = 17: 17 × 18/2 = 153. This is odd, so it is not a multiple of 40.

A multiple of 40 must end in 0, so check the last digit first. Only 120 passes. You do not need to trace the circle at all.

It takes about 45–60 seconds once you see that the jumps add up to triangular numbers. Attempt this one in your first pass through the paper.

Know more

Growing jumps around a circle: triangular numbers modulo N

Say the jumps around a circle of N seats grow by one each time: 1, 2, 3, … Then after n moves the total distance is the triangular number T(n) = n(n + 1)/2. The token is back at the start when T(n) is a multiple of N. This is the same as saying n(n + 1) is a multiple of 2N.

How to find the smallest n fast

  1. Factorise 2N.
  2. n and n + 1 have no common factor. So split the prime powers of 2N between them: the full power of 2 goes to whichever one is even.
  3. Test the smallest pairs that fit.

Worked variant. There are 12 children, and the jumps are 1, 2, 3, … When is the ring back with child-1? You need n(n + 1) to be a multiple of 24 = 8 × 3. So 8 must divide n or n + 1, and 3 must divide one of them. The first pair that fits is 8 × 9 = 72 = 3 × 24, so n = 8. Check: T(8) = 36 = 3 × 12.

n T(n) T(n) mod 12
3 6 6
5 15 3
7 28 4
8 36 0

Watch the count. A question can ask for passes (moves) or for holders (people). If the ring makes n passes and comes back, the list of holders has n + 1 names, because the start and end are the same child. Read the wording carefully. One of the options is usually set at the other count.