Nim-7

This is a game that has been around for hundreds of years! Can you master the game of NIM?

Reference

The NRICH website publishes free mathematics resources designed to challenge, engage and develop the mathematical thinking of students aged 5 to 19. NRICH also offers support for teachers by publishing Teachers’ Resources for use in the classroom.

This task can be found at: https://nrich.maths.org/1204