Winning strategy for removing coins from coin piles of size 2020 and 2021

321 Views Asked by At

Suppose that two players A and B are playing a game on two piles of coins of size 2020 and 2021. There are two actions available:

  1. Remove one coin from each pile.

  2. Remove two coins from any one pile.

The player who removes the last coin wins.

Suppose A goes first. Who has a winning strategy?