Verify that the following is a probability distribution functions: $f(n) = \left\{ \begin{array}{l l} n/2 & \quad \text{if$n$is even}\\ -(n+1)/2 & \quad \text{if$n$is odd}\\ \end{array} \right.$

$\$