MathDB
2018-2019 Fall OMO Problem 18

Source:

November 7, 2018
Online Math Open

Problem Statement

On Lineland there are 2018 bus stations numbered 1 through 2018 from left to right. A self-driving bus that can carry at most NN passengers starts from station 1 and drives all the way to station 2018, while making a stop at each bus station. Each passenger that gets on the bus at station ii will get off at station jj for some j>ij>i (the value of jj may vary over different passengers). Call any group of four distinct stations i1,i2,j1,j2i_1, i_2, j_1, j_2 with iu<jvi_u< j_v for all u,v{1,2}u,v\in \{1,2\} a good group. Suppose that in any good group i1,i2,j1,j2i_1, i_2, j_1, j_2, there is a passenger who boards at station i1i_1 and de-boards at station j1j_1, or there is a passenger who boards at station i2i_2 and de-boards at station j2j_2, or both scenarios occur. Compute the minimum possible value of NN.
Proposed by Yannick Yao