2015-2016 OMO Spring #18
Source:
March 29, 2016
Online Math Open
Problem Statement
Kevin is in kindergarten, so his teacher puts a addition table on the board during class. The teacher first randomly generates distinct positive integers in the range corresponding to the rows, and then she randomly generates distinct positive integers in the range corresponding to the columns. She then fills in the addition table by writing the number in the square for each , .During recess, Kevin takes the addition table and draws it on the playground using chalk. Now he can play hopscotch on it! He wants to hop from to . At each step, he can jump in one of directions to a new square bordering the square he stands on a side or at a corner. Let be the minimum possible sum of the numbers on the squares he jumps on during his path to (including both the starting and ending squares). The expected value of can be expressed in the form for relatively prime positive integers . Find Proposed by Yang Liu