We want to describe via a picture a set of subsets of a square which are something like diagonals, but are not quite the same. We’ll call them steep diagonals. One of them, labelled e, is illustrated in the square below; the other 6 are parallel to it.

Can someone give me a theorem and prove the theorem about under what conditions we can expect that the sums on the positive (or negative) steep diagonals are constant, when we’re dealing with a square full of consecutive integers starting at 0?