Notice
Recent Posts
Recent Comments
«   2024/12   »
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31
Archives
Today
In Total
관리 메뉴

A Joyful AI Research Journey🌳😊

Winning Strategy for the Rock-Taking Game: Mastering the Art of Leaving Multiples of 3 본문

🌳Coursework Maths 2025🪄✨/Discrete Maths

Winning Strategy for the Rock-Taking Game: Mastering the Art of Leaving Multiples of 3

yjyuwisely 2024. 2. 3. 07:00

Question)
There is a pile of 11 rocks. Two players take rocks from the pile in turns. In each turn a player can either take one or two rocks from the pile. The player that takes the last rock wins the game. You move first.


Answer)

You need to play in such a way that you maintain the strategy of leaving a multiple of 3 for the opponent.

ex)

  1. You Take two rocks
  2. Your opponent Take two rocks
  3. You Take one rock
  4. Your opponent Take two rocks
  5. You Take one rock
  6. Your opponent Take two rocks
  7. You Take one rock

 

728x90
반응형
Comments