I have to show that for all $\sigma \in S_n$ following equation holds: $\sum_{i=1}^n|\sigma(i)-i|=2k$ for $k\in \mathbb{Z}$.
I have no idea how to show it and would be very grateful for any hint.
I have to show that for all $\sigma \in S_n$ following equation holds: $\sum_{i=1}^n|\sigma(i)-i|=2k$ for $k\in \mathbb{Z}$.
I have no idea how to show it and would be very grateful for any hint.
Copyright © 2021 JogjaFile Inc.
HINT: Note that $\sum_{i=1}^n|\sigma(i)-i|$ and $\sum_{i=1}^n(\sigma(i)-i)$ have the same parity, and the latter is easy to calculate.