lau wrote:
Jookia wrote:
Adam wins.
Say there were merely five stones, at the start. Could you explain Adam's winning strategy in that case?
I don't think there is a winning strategy for the person picking first (with 5 stones). It would go like this:
Person A takes 1 stone.
Person B takes 3 stones.
Person A takes last stone.
Person B wins.
or
Person A takes 2 stones.
Person B takes last 3 stones.
Person B wins.
or
Person A takes 3 stones.
Person B takes 1 stone.
Person A takes last stone.
Person B wins.
The OP gave us a hint - 13 is an identical case to 5. If it's your pick at 13, you always will lose. So with the case of 15:
Person A takes 2 stones. (13 left)
Person B takes X stones. (13 - X left)
Person A takes 4-X stones (9 left)
Person B takes Y stones. (9 - Y left)
Person A takes 4-Y stones (5 left)
At this point, both persons have either odd numbers or even numbers. With even numbers, the progression is as above. With odd numbers:
Person B takes 1 stone (even)
Person A takes 2 stones (still odd)
Person B takes 2 stones (still even)
Person A wins
or
Person B takes 2 stones (still odd)
Person A takes 2 stones (still odd)
Person B takes 1 stone (even)
Person A wins
or
Person B takes 3 stones (even)
Person A takes 2 stones (still odd)
Person A wins