Let $p$ be a prime and $$\frac{a}{b}=\frac{1}{1^2}+\frac{1}{2^2}+\cdots + \frac{1}{(p-1)^2}$$
where $a$ and $b$ are two co-prime positive integers. Show that $p\mid a$.