A boring square is (as defined in this problem ) is a grid filled with integers such that the sum of the integers is unique in every row, column and diagonal.
How many boring squares are there ?
NB : Squares that are rotations or reflections of each other are considered the same.
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Brute force method
The following code counts 2 4 9 6 0 boring squares. They can be grouped into sets of eight identical squares (under rotation/reflection), so that the answer is 2 4 9 6 0 / 8 = 3 1 2 0 .