document.write( "Question 1205094: Determine the length of the cycle in a given permutation\r
\n" ); document.write( "\n" ); document.write( "a. [1 2 3 4 5 6 7 8 4 1 5 6 7 8 3 2 ]\r
\n" ); document.write( "\n" ); document.write( "b. [1 2 3 4 5 6 7 8 3 6 5 1 4 8 2 7 ]\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #841742 by mccravyedwin(407)\"\" \"About 
You can put this solution on YOUR website!
Determine the length of the cycle in a given permutation
\r\n" );
document.write( "a.\r\n" );
document.write( "\r\n" );
document.write( "First we determine its orbits:\r\n" );
document.write( "1->4->6->8->2->1 so the first orbit is \r\n" );
document.write( "[1 4 6 8 2]\r\n" );
document.write( "\r\n" );
document.write( "3->5->7->3 so the second orbit is\r\n" );
document.write( "[3 5 7]\r\n" );
document.write( "\r\n" );
document.write( "All the numbers 1-8 are used so that's all the orbits. There are 2 orbits.\r\n" );
document.write( "\r\n" );
document.write( "\"%28matrix%285%2C1%2CThe%2Clength%2Cof%2Cthe%2Ccycle%29%29\"\"%22%22=%22%22\"\"%28matrix%287%2C1%2C%0D%0Athe%2C+number%2C+of%2C+elements%2C+in%2C+the%2C+permutation%29%29\"\"%22%22-%22%22\"\r\n" );
document.write( "\r\n" );
document.write( "Therefore \r\n" );
document.write( "\r\n" );
document.write( "\"%28matrix%285%2C1%2CThe%2Clength%2Cof%2Cthe%2Ccycle%29%29\"\"%22%22=%22%22\"\"8\"\"%22%22-%22%22\"\"2\"\"%22%22=%22%22\"\"6\"\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "b. [1 2 3 4 5 6 7 8] \r\n" );
document.write( "   [3 6 5 1 4 8 2 7]\r\n" );
document.write( "\r\n" );
document.write( "Do this one the same way.\r\n" );
document.write( "\r\n" );
document.write( "Edwin
\n" ); document.write( "
\n" );