It is preferrable to read the pdf statment.Cuber QQ and Little Fang are playing a game, called Gaming of Co-prime Disallowance (GCD).
To play GCD, two tables are needed. The game starts with $n$ cards on one table, and players take turns to move the cards to another table. In each turn, a player has to select one and only one card and move it. Let's assume that the players have moved $k$ cards, and there are $n-k$ cards left. The players who cannot make a move any more loses the game.
If one of the following two conditions happen, the players can no longer make a move:
- There is no card on the original table, i.e., $k=n$.
- On each card, there is a number. If the $k$ cards that have been moved have Greatest Common Divisor (GCD) equals 1, i.e., the $k$ numbers are co-prime, the game is over and the player who has made the last valid move wins the game.
To test the fairness of GCD, Cuber QQ and Little Fang plays completely randomly without any strategy at all. Help him calculate how likely he is going to win if Cuber QQ plays first.