a.First we determine its orbits: 1->4->6->8->2->1 so the first orbit is [1 4 6 8 2] 3->5->7->3 so the second orbit is [3 5 7] All the numbers 1-8 are used so that's all the orbits. There are 2 orbits. Therefore b. [1 2 3 4 5 6 7 8] [3 6 5 1 4 8 2 7] Do this one the same way. Edwin
Let a Permutation be defined as : input: 1 2 3 4 5 6 7 8 9 10 output: 6 9 2 7...(answered by Edwin McCravy)