bananabate said:
[...]As X is a finite set, the set X has n! possible permutations. Therefore, fm=id where m=k!.
While the knowledge of elementary group theory gives this result, I don't think I (or you yourself) can follow how you argue that the first sentence implies the second. It seems to me that you just throw together all keywords that appeared in this thread without following a clear line of reasoning.
Let me lift the confusion and show you a clear argument:
Let X = {x
1, ..., x
k} be a finite set. We have already established that there are exactly k! different bijections from this set to itself (i.e. permutations). We also know that the composition of two bijections is a bijection as well. Let f: X → X be a bijection.
Then f
2, f
3, ... are also bijections. Since there is only a limited number of different bijections (= k!), at some point of this sequence the same bijection* will come around again. Meaning:
f
n = f
n' for some n, n', n ≠ n'. We can assume that n' > n, that means we can write n' as n' = n + m. Therefore:
f
n = f
n+m.
Now since f
n is a bijection, it is invertible. Thus, we can multiply both sides of the equation with its inverse f
-n. This gives
id = f
m.
*Note: At this point this does not necessarily mean that f itself will ever appear again. For example, we can form an infinite sequence containing only the numbers 1, 2 and 3 without using all of them twice, such as 1, 2, 3, 3, 3, 3, 3, ... . But we can't do that without using any number twice.