Let $p$ be an odd prime and let $1 + \frac{1}{2} + \cdots + \frac 1{p-1} = \frac ab$, where $a,b$ are integers. Show that $p\mid a$. (Hint: As $a$ runs through $U_p$, so does $a^{-1}$.)
P.S. $U_p$ means the group of of invertible elements in $\mathbb{Z}_p$, and I believe for prime $p$, $U_p = \mathbb{Z}_p$.