Weighted Matrix (Anurag Sahay)Discuss about this problem
Fill nxn matrix with the first nxn integers to maximize the number of equations "a-2b+c = d" formed with any four contiguous entries a,b,c,d in any of the 8 directions.

Part 2 can include the absolute value of the left hand side.
Please send us a simpler description.