Maths Olympiad Prep

Library / /62 of 69

, 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 1i<j2n1 \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 ik<ji \le k < j. Hence there are k(2nk)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 k1k-1 passengers disembarking, and 2nk2n-k passengers boarding, so there needs to be
(2nk)(k1)=2(nk)+1 (2n - k) - (k - 1) = 2(n - k) + 1
seats free in the car for 1kn1 \le k \le n. After station nn, 2(kn)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(nk)+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,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.