2008/09 AHSMC Part 1 Problem 15
Problem 15 of 16
A country has cities numbered from to . For all , there is a road linking the -th and the -th city if and only if is a prime number. One can travel in either direction on a road. The minimum number of roads one needs to use to go from the th city to the th city is
Answer choices
Show solution
Solution
In moving from city to city, we either pick up an extra prime or discard one. The numbers of prime divisors of and are and respectively, and there are no common divisors. To change from one lot to the other, we need to make moves. The answer is (D).