Find the number of ways in which the nine numbers can be arranged in a row so that adjacent numbers are relatively prime.
Solution
The six numbers , and 123456789 are divisible by 3 , so they cannot be adjacent. However, arranging six numbers in a row with no two adjacent requires at least 11 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.