Almost magin square
Source: Kyiv City MO 2021 Round 1, Problem 8.3
December 21, 2023
permutationsMagic squarescombinatorics
Problem Statement
The cells located around the perimeter of a square are filled with the numbers so that the sums along each of the four sides are equal. In the upper left corner cell is the number , and in the upper left is the number (see the figure below).
https://i.ibb.co/bRmd12j/Kyiv-MO-2021-Round-1-8-2.png
How many different ways to fill the remaining cells are there under these conditions?Proposed by Mariia Rozhkova