I am struggling to come up with a proof to the following question(from cut-the-knot.org):
Prove that if n is odd,then for any permutation $p$ of the set $\{1,2,3...,n\}$ the product $$P(p) = (1-p(1))(2-p(2)) \cdots (n-p(n))$$ is necessarily even.
My best guess: Things that could potentially not result in an odd number
- an even number from $p$ that could get subtracted from an odd number counterpart in $P(p)$
- vice versa
Call $i - p(i)$ an "even part" if $i$ is even and an "odd part" if $i$ is odd.
If both $i$ and $p(i)$ are odd for some $i$, then $i - p(i)$ is even, which causes $P(p)$ to be even. Since $n$ is odd, there are fewer even parts in the product (pigeonholes) than odd numbers in the set $\{1, \dots, n\}$ (pigeons). It follows that $p(i)$ is odd for at least one odd part, from which the claim follows.