MathDB
Given a board of $3 \times 3$

Source: May Olympiad 2016 L1 P4

March 14, 2021
combinatorics

Problem Statement

Given a board of 3×33 \times 3 you want to write the numbers 1,2,3,4,5,6,7,81, 2, 3, 4, 5, 6, 7, 8 and a number in their boxes positive integer MM, not necessarily different from the above. The goal is that the sum of the three numbers in each row be the same a)a) Find all the values of MM for which this is possible. b)b) For which of the values of MM found in a)a) is it possible to arrange the numbers so that no only the three rows add the same but also the three columns add the same?