Maths Olympiad Prep

Library / /450 of 740

, 2021

Combinatorics Difficulty 5.1 AIME, harder Prove it United States

Problem:
Find the number of ways in which the nine numbers
1,12,123,1234,,123456789 1, 12, 123, 1234, \ldots, 123456789
can be arranged in a row so that adjacent numbers are relatively prime.

Solution

Solution:
The six numbers 12,123,12345,123456,1234567812, 123, 12345, 123456, 12345678, and 123456789123456789 are divisible by 33, so they cannot be adjacent. However, arranging six numbers in a row with no two adjacent requires at least 1111 numbers, which is impossible.

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.