Maths Olympiad Prep

Library / /24 of 24

Combinatorics Difficulty 6.0 National Olympiad Prove it United States

Problem:

The following grid represents a mountain range; the number in each cell represents the height of the mountain located there. Moving from a mountain of height aa to a mountain of height bb takes (ba)2(b-a)^2 time. Suppose that you start on the mountain of height 11 and that you can move up, down, left, or right to get from one mountain to the next. What is the minimum amount of time you need to get to the mountain of height 4949?

13610152128
25914202734
481319263339
7121825323843
11172431374246
16233036414548
22293540444749

Solution

Solution:

Answer: 212212

Consider the diagonals of the board running up and to the right - so the first diagonal is the square 11, the second diagonal is the squares 22 and 33, and so on. The iith ascent is the largest step taken from a square in the iith diagonal to a square in the i+1i+1st. Since you must climb from square 11 to square 4949, the sum of the ascents is at least 4848. Since there are 1212 ascents, the average ascent is at least 44.

The 11st and 1212th ascents are at most 22, and the 22nd and 1111th ascents are at most 33. The 66th and 77th ascents are at least 66, and the 55th and 88th ascents are at least 55. Because f(x)=x2f(x) = x^2 is convex, the sum of squares of the ascents is minimized when they are as close together as possible. One possible shortest path is then 136101419253136404447491 \rightarrow 3 \rightarrow 6 \rightarrow 10 \rightarrow 14 \rightarrow 19 \rightarrow 25 \rightarrow 31 \rightarrow 36 \rightarrow 40 \rightarrow 44 \rightarrow 47 \rightarrow 49, which has ascents of size 2,3,4,4,5,6,6,5,4,4,32, 3, 4, 4, 5, 6, 6, 5, 4, 4, 3, and 22.

Thus, our answer is 212212, the sum of the squares of these ascents. There are other solutions to this problem. One alternative problem involves computing the shortest path to each square of the graph, recursively, starting from squares 22 and 33.

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.