Maths Olympiad Prep

Library / HMMT February /293 of 1302

HMMT February, 2019

Number theory Difficulty 5.0 AIME, harder Prove it United States

Problem:

How many ways are there to arrange the numbers 21,22,33,3521, 22, 33, 35 in a row such that any two adjacent numbers are relatively prime?

Solution

Solution:

2121 cannot be adjacent to 3333 or 3535, so it must be on one end bordering 2222. 3333 cannot be adjacent to 2121 or 2222, so it must be on the other end bordering 3535. Thus, there are only 22 orderings: 21,22,35,3321, 22, 35, 33, and 33,35,22,2133, 35, 22, 21.

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.