Find the number of ways of arranging the numbers 1, 2, 3, 9 in a circle, so that the sum of any three adjacent numbers is divisible by 3. (Two arrangements are considered the same if one arrangement can be rotated to obtain the other.)
....