Hi, I am studying a permutation of integers in the range [0, k). I do not know how to…
- User
Hi, I am studying a permutation of integers in the range [0, k). I do not know how to call the following quantity. Once permuted, I can pick the first card of the permutation and find the i-th value. Then I can pick the value at the position i and see the value, and continue until which I find on the same position the same value. I am calling this quantity cycle, and the number of times I pick a value that link to a different position I call this thing cycle length. Please provide me a feedback on this terminology.
- Assistant
Your terminology is quite close to standard terminology used in the study of permutations and cycle notation! Here’s a summary and some suggestions for standard terms:
-
Cycle: You are correct to call the sequence of elements that you visit by repeatedly following the positions in the permutation a "cycle". In permutation theory, a cycle is indeed a sequence of elements in which each element maps to the next element, and the sequence eventually loops back to the starting element.
-
: The number of times you pick a value that links to a different position before returning to the initial value is also correctly termed the "cycle length". This is the number of elements in the cycle.
-