DR.WANG Mathematics中文

BMO1 · 2024/25 · 2024-11-20 · Question 3

Counting & combinatorics · Combinatorial games

Problem outline

Two players alternate starting from 10610^6, with Rhian first. From nn, choose unequal positive factors a,ba,b with ab=nab=n and replace nn by their absolute difference. A player without a legal move loses. Who can force a win?

Show answer and methods 1 methods

Answer

Rhian, the first player.

Method 1 Leave an odd number on every turn

If nn is even, take 1,n1,n. They are different, and the result n−1n-1 is odd. From an odd n>1n>1, every factor pair consists of odd numbers, so every legal move leaves a positive even number.

All legal moves strictly decrease nn: for 1≤a<b1\le a<b the difference b−ab-a lies between 1 and ab−1ab-1. Every n>1n>1 has the legal pair 1,n1,n, so 1 is the only terminal position.

Since 10610^6 is even, Rhian can leave an odd number on every turn. Jack must return an even number whenever he can move. The game must finish, and the terminal odd value 1 is therefore left for Jack.

Source and attribution

The outline and worked methods on this page were prepared for DR.WANG Mathematics.

Original question (external)