All the fields of a square n×n (n>2) table are filled with +1 or −1 according to the rules: At the beginning −1 are put in all the boundary fields. The number put in the field in turn (the field is chosen arbitrarily) equals to the product of the closest, from the different sides, numbers in its row or in its column.
a) What is the minimal b) What is the maximal possible number of +1 in the obtained table? combinatoricsminimummaximumsquare tabletable