There are 10 coins, 5 of which are heads up and the other 5 are tails up.
On each turn, you choose exactly 3 coins in a triangle, where each coin touches the other two, and flip them over.
What is the minimum number of turns needed to make all of the coins heads up?
This problem was inspired by a previous Problem of the Week .
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Each move involves one coin of each color. Hence, the count for each color changes by 1. Consequently, the parity (even/oddness) of the differences between pairs of colors is invariant (does not change).
The counts for the desired final state are: R , G , B = 3 , 4 , 3 . Here are all the counts and the parities of the pairwise differences: \begin{array}{l|*{3}{c|}*{3}{|c}} \text{state} & R & G & B & R - G & G - B & B - R \\\hline \text{initial} & 1 & 2 & 2 & \text{odd} & \text{even} & \text{odd} \\ \text{final} & 3 & 4 & 3 & \text{odd} & \text{odd} & \text{even} \end{array} Since the parities of the final state differ from those of the initial state, it is impossible to transform the initial state to the final state with these moves.