document.write( "Question 1040063: How many ways are there to re-arrange numbers 1 to 12 on a circle, so that the sum of any 3 consecutive numbers is divisible by 3?
\n" ); document.write( "Obviously in the original arrangement (1, 2, 3, ..., 12) this is true because the sum of any 3 consecutive integers is always divisible by 3 (n, n+1, n+2 ---> 3n+3).
\n" ); document.write( "

Algebra.Com's Answer #654869 by KMST(5328)\"\" \"About 
You can put this solution on YOUR website!
When we are talking about multiples of 3,
\n" ); document.write( "all numbers are \"congruent modulo 3\" with either 1, 2 or 0.
\n" ); document.write( "We could say \"congruent modulo 3 to 1, 2, or 3\" instead),
\n" ); document.write( "There are only two ways to arrange the numbers
\n" ); document.write( "1, 2, and 3 (each repeated 4 times) around a circle,
\n" ); document.write( "so that the sum of any 3 consecutive numbers would be a multiple of 3,
\n" ); document.write( "and one way is the mirror image of the other:
\n" ); document.write( "
\n" ); document.write( "Turning the circle around may make the arrangement look different, but it is the same arrangement.
\n" ); document.write( "If we read the numbers in sequence starting from 1,
\n" ); document.write( "we have 1,2,3,1,2,3,1,2,3,1,2,3 clockwise or counterclockwise.
\n" ); document.write( "To use the numbers from 1 to 12, we just replace each number with a different congruent number.
\n" ); document.write( "Listing 1 as the first number,
\n" ); document.write( "the fourth number could be 4, 7, or 10 (all congruent to 1 modulo 3);
\n" ); document.write( "the second, fifth, eighth, and eleventh number must be 2, 5, 8, and 11, in some order,
\n" ); document.write( "and the third, sixth, ninth and twelfth numbers must be 3, 6, 9, and 12 in some order.
\n" ); document.write( "Staring our list with number 1, there are
\n" ); document.write( "\"3%21=6\" possible arrangements for 4, 7, and 10,
\n" ); document.write( "\"4%21=24\" possible arrangements for 2, 5, 8, and 11,
\n" ); document.write( "and \"4%21=24\" possible arrangements for 3, 6, 9, and 12.
\n" ); document.write( "All in all we could make \"6%2A24%2A24=3456\" different lists,
\n" ); document.write( "that can be arrange in two directions around the circle to make =
\n" ); document.write( "\"2%2A3456=highlight%286912%29\"
\n" ); document.write( "ways to arrange numbers 1 to 12 on a circle, so that the sum of any 3 consecutive numbers is divisible by 3.\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );