MathDB
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 5×55\times 5 board is written 11 or 1-1. In each step, the number of each of the 2525 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 20042004 steps.
Clarification: Two squares are neighbors if they have a common side.