Maths Olympiad Prep

Library / South-Afrika /57 of 64

South-Afrika, 2011

Combinatorics Difficulty 6.6 National Olympiad Prove it South Africa

Let nn be a positive integer. A train stops at 2n2n stations, including the first and last ones, numbered in order from the first to the 2nth2n^{th}. It is known that on a certain car, for each pair of integers i,ji, j such that 1≤i<j≤2n1 \le i < j \le 2n, exactly one seat has been reserved for the trip from the ithi^{th} station to the jthj^{th}. Find the minimum number of seats that must be available in that car.

Solution

When the train leaves station kk, the passengers on board the train are those that are travelling from station ii to jj, with i≤k<ji \le k < j. Hence there are k(2n−k)k(2n-k) people on board the train at that point, with a maximum of n2n^2 between stations nn and n+1n+1.

Moreover, at station kk there are k−1k-1 passengers disembarking, and 2n−k2n-k passengers boarding, so there needs to be
(2n−k)−(k−1)=2(n−k)+1 (2n - k) - (k - 1) = 2(n - k) + 1
seats free in the car for 1≤k≤n1 \le k \le n. After station nn, 2(k−n)−12(k-n)-1 seats are left free. So in order for everyone to have a seat up to station nn, there needs to be at least ∑k=1n[2(n−k)+1]=n2\sum_{k=1}^{n}[2(n-k)+1] = n^2 seats on the train. Since the number of passengers never exceed n2n^2, this number will suffice.

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

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