However, look closely. The matrix is 7 by 4, and the centermost number increases by two each time. None of the numbers are less than zero, and if the number to the left or the right is non-zero, then on the next pass of a loop, the number will increase by two more than the number to its left, checking from left to right. Sort-of. Do you get the idea? :)