Problem

Source: Puerto Rico TST 2014 #6

Tags: number theory



Natural numbers are written in the cells of of a $2014\times2014$ regular square grid such that every number is the average of the numbers in the adjacent cells. Describe and prove how the number distribution in the grid can be.