” A permutation of n objects is an arrangement of n disctict objects in a row.
there are n ways of choosing the first object, then n − 1 ways of choosing the second, n − 2 and so on. pnk = n(n − 1)…(n − k + 1)
a, b, c a, c, b b, a, c b, c, a c, a, b c, b, a
Given a permutation a1a2…an − 1 we form n others by putting the number n in all possible places.
na1a2…an − 1, a1na2…an − 1, …, a1a2…an − 1
““” For each permutation a1a2…an − 1 of {1, 2, …, n − 1}, form n others as follows: First construct the array.
$$a_1a_2 \ldots a_{n-1} \frac{1}{2}, a_1a_2 \ldots a_{n-1} \frac{3}{2}, a_1a_2 \ldots a_{n-1} \frac{5}{2} \ldots a_1a_2 \ldots a_{n-1} \frac{2n-1}{2}$$
Rename using the number {1, 2, …n} but the smallest number gets the number 1, the largest number gets the number n, and similarly for the rest, we preserve the order or transpose the size of the number.
for example. $2 3 1 \frac{1}{2}$, $2 3 1 \frac{3}{2}$, $2 3 1 \frac{5}{2}$ and $2 3 1 \frac{7}{2}$.
$2 3 1 \frac{1}{2}$ so the $\frac{1}{2}$ becomes 1, the 1 ← 2, 3 ← 4, the 2 ← 3
And renaming we get 3421, 3412, 2413, 2314
We can put the fraction in any position, but it must be fixed in all array elements.