Each string of adjacent squares needs to form an arithmetic sequence.
A horizontal string of squares increases from left to right.
A vertical string of squares increases from top to bottom.
+--+--+--+--+--+ | | | |13| | +--+--+--+--+--+--+--+ | |XXXXXXXX| |39| | +--+XXXXXXXX+--+--+--+ | |XXXXXXXX|44|XX| | +--+XXXXX+--+--+--+--+ |31|XXXXX| | | | | +--+--+--+--+--+--+--+--+ | | | | | |XXXXX| | +--+--+--+--+--+XXXXX+--+ |35|XXXXXXXX| |XXXXX| | +--+XXXXXXXX+--+--+--+--+ | |XXXXXXXX| |78| | | +--+--+--+--+--+--+--+--+ | |49| | | | +--+--+--+--+--+
This is an original problem.