WOLFRAM NOTEBOOK

WOLFRAM|DEMONSTRATIONS PROJECT

Triangle Mysteries

size of top row n
10
random seed
This game starts with a row of
n
squares of three different colors. The rule for choosing the color for a square in the next row is:
If the two colors above the square are different, then it is colored with the third color; if the two colors above are the same, then the square is colored the same.
Apply this rule repeatedly until there is only one square at the bottom.
The object of this game is to answer the following question: can you predict, just by looking at the top row, what the color of the bottom square will be? That is, can you devise a rule for determining the color of the bottom square that only involves knowing the colors of the first row?
Hint: a rule exists for
n=4
and another for
n=10
, and they turn out to be the same. For the whole story, see [1].
Wolfram Cloud

You are using a browser not supported by the Wolfram Cloud

Supported browsers include recent versions of Chrome, Edge, Firefox and Safari.


I understand and wish to continue anyway »

You are using a browser not supported by the Wolfram Cloud. Supported browsers include recent versions of Chrome, Edge, Firefox and Safari.