Linear Algebra at a Math Olympiad

A puzzle from the 1977 USSR math Olympiad can be solved naturally with linear algebra:

Seven dwarfs are sitting at a round table. Each dwarf has a cup partially filled with milk. Each dwarf in turn divides all his milk evenly between the six other cups. After the seventh dwarf has done this, every cup happens to contain the initial amount of milk. What was the initial distribution of milk?

Can you use linear algebra to intelligently solve this puzzle?

Share:Facebooktwitterredditpinterestlinkedinmail

5 Comments

  1. Misha:

    Wait, if each dwarf divides ALL his milk between the other 6, he is left with no milk after his turn. Does he keep 1/7 to himself and gives 1/7 to each of the rest? That would make more sense.

  2. Misha:

    Sorry, it makes sense either way. Slightly off topic: the Russian national idea explained

  3. Misha:

    Perron-Frobenius theorem + conservation of the total amount of milk tell us that there is a solution, actually finding it is a matter of calculating an eigenvector of a matrix.

  4. Christ Schlacta:

    if the 7th dwarf divides all his milk he must initially have no milk, however this contradicts the stated initial state.

  5. Reila:

    find eigenstates to:

    ones(7,7) – identity(7,7) = lambda*identity(7,7)

Leave a comment