numbers 1 to n^2 in a nxn board, prison break 4
Source: 2015 VMEO IV Juniors 10.4 Vietnamese Mathematics e - Olympiad https://artofproblemsolving.com/community/c2463156_2015_vmeo_iv
September 15, 2021
combinatorics
Problem Statement
In the movie ”Prison break ”. Michael Scofield has to break into The Company. There, he encountered a kind of code to protect Scylla from being taken away. This code require picking out every number in a grid satisfying:
i) The number right above of this number is
ii) The number right on the right of this number is
iii) The number right below of this number is
iv) The number right on the right of this number is .
How many number does Schofield have to choose?
Also, in a grid, the numbers from to are arranged in the following way :
On the first row, the numbers are written in an ascending order , each cell has one number.
On the second row, the number are written in descending order .
On the third row, it is ascending order again .
The numbers are written like that until th row.
For example, this is how a board looks like:https://cdn.artofproblemsolving.com/attachments/8/7/0a5c8aba6543fd94fd24ae4b9a30ef8a32d3bd.png