changing numbers in 5x5 board, 2004 steps
Source: X May Olympiad (Olimpiada de Mayo) 2004 L1 P3
September 22, 2022
combinatorics
Problem Statement
In each square of a board is written or . In each step, the number of each of the cells is replaced by the result of the multiplication of the numbers of all its neighboring cells. Initially we have the board of the figure.
https://cdn.artofproblemsolving.com/attachments/2/d/29b8e5df29526630102ac400a3a2b2f8fee4f7.gif
Show how the board looks after steps.Clarification: Two squares are neighbors if they have a common side.