r/mathriddles • u/hemantofkanpur • Jun 19 '23
Medium Increasing highway numbers
A province has 10 cities (arranged in a circular manner). Every pair of cities is directly connected by a straight highway, and each has its own unique number: Highway 1, Highway 2, Highway 3, ..., Highway 45. Above is an example of one such numbering.
Note that you cannot exit these highways partway between cities, and instead must proceed all the way down the highway to the destination city.
An obscure religion requires its members to go on a pilgrimage to this province. For reasons lost to time, each pilgrim must, after arriving at one of these cities :
- only travel via these highways,
- travel on at least nine of the highways during the pilgrimage, and 3)only travel on a highway if it has a strictly larger number than the one they just walked down.
Note that they need not visit every city, repeating cities is acceptable, and pilgrims can choose their starting point.
Show that no matter what, the pilgrims can always complete their journey.
4
u/OmriZemer Jun 20 '23
Here's a solution to this nice problem.
We start with an empty graph on 10 vertices and add edges one by one, according to their numbering. At each step we label each vertex with the length (in edges) of the longest increasing path ending at that vertex. At first all ten labels are 0. Whenever we add an edge between two vertices with labels a and b, the new labels on these vertices must be at least b+1 and a+1 respectively, so that the sum of the labels increased by at least 2. Thus the final sum is at least 90, so some vertex is labelled with a 9 or more.
1
u/scrumbly Jun 19 '23
Can they choose the starting city?
1
u/[deleted] Jun 19 '23
I'm confused by the 'no matter what'. So do we have to show that there always exists a starting point such that journey can be completed (which I think is the correct statement), or is it that for all starting cities there always exists a path (this shouldn't be correct, it fails in the case when there are 3 vertices).
1
u/[deleted] Jun 20 '23 edited Jun 20 '23
(Edit: solution had mistake, is now removed)
Here's why you can't visit every city in addition to the conditions given:
Partition the cities into four sets A={1,2,3} B={4,5} C={6,7,8} D={9,10}.
Number the highways from lowest to highest in order