Bosnia and Herzegovina 2022 IMO TST P4
Source:
May 22, 2022
combinatoricscounting
Problem Statement
In each square of a table a number or is written, such that the product of every two neighboring squares is (neighboring by side).
In how many ways is this possible to do if the middle is filled with zeros?
In general, in how many ways is this possible to do (regardless of the middle )?