Atenţie! Aceasta este o versiune veche a paginii, scrisă la 2016-01-30 23:34:07.
Revizia anterioară   Revizia următoare  

Problem: Marble Game

Cosmin
Cosmin Negruseri
31 ianuarie 2016

Andrei Dragus told me this cute puzzle a year or two ago.

M marbles are placed in N cups which are arranged in a circle. One move consists in choosing a cup, taking all the marbles within that cup and placing them one by one in the following cups in clockwise order (since the cups are in a circle you might end up putting marbles in the original cup as well).

How can we tell given two placements A and B of marbles in cups, if we can reach B starting from A.

Categorii: