Z tablicy n×n usunięto pola znajdujące się w całości powyżej jednej z przekątnych,…
- User
Z tablicy n×n usunięto pola znajdujące się w całości powyżej jednej z przekątnych, otrzymując schodkowy diagram. W każde pole diagramu należy wpisać jedną z liczb 1 lub 2. Wyznacz wszystkie liczby całkowite n 2, dla których można to zrobić w taki sposób, aby pośród 2n sum liczb w wierszach i kolumnach nie było dwóch równych liczb.
- Assistant
Problem Statement: Given an ( n \times n ) table, cells entirely above one of the diagonals are removed, resulting in a staircase-like (schodkowy) diagram. Each remaining cell is filled with either a 1 or a 2. Determine all integer values of ( n \geq 2 ) for which it's possible to fill the diagram so that the sums of the numbers in each row and each column are all distinct when considering all ( 2n ) sums.
Analysis:
-
Understanding the Diagram:
- The staircase diagram retains cells on and below a chosen diagonal.
- For simplicity, assume it's the main diagonal, so we have a lower triangular matrix.
-
Sum Ranges:
-