P = \frac{n-1}{2}