Problem #PRU-100617

Problemas Matemáticas Discretas Teoría de Algoritmos Teoría de Juegos Posiciones ganadoras y perdedoras

Problem

Two pirates are playing a game. They have \(42\) gold coins on a table. Each of them is allowed to take either \(1\) or \(5\) coins from the table. The pirate who takes the last coin wins. Who will win – the first pirate or the second pirate?