Problem:
How many ways are there to arrange the numbers in a row such that any two adjacent numbers are relatively prime?
Problem:
How many ways are there to arrange the numbers in a row such that any two adjacent numbers are relatively prime?
Solution:
cannot be adjacent to or , so it must be on one end bordering . cannot be adjacent to or , so it must be on the other end bordering . Thus, there are only orderings: , and .