MathDB
Problems
Contests
International Contests
Baltic Way
1990 Baltic Way
17
17
Part of
1990 Baltic Way
Problems
(1)
Game involving taking candy from piles
Source:
4/19/2013
There are two piles with
72
72
72
and
30
30
30
candies. Two students alternate taking candies from one of the piles. Each time the number of candies taken from a pile must be a multiple of the number of candies in the other pile. Which student can always assure taking the last candy from one of the piles?
floor function