Let $A = \{1, 2, 3, ..., p-1\}$ where $p$ is prime. Prove that for any $k \in A$ there exists another $l \in A$ such that $kl \equiv 1\pmod p$.
Here's an example where $p = 5$:
$1 \times 1 \equiv 1\pmod 5$
$2 \times 3 \equiv 1\pmod 5$
$4 \times 4 \equiv 1\pmod 5$
The solutions for $k = 1$ and $k = p-1$ are obvious, but I can't find a general formula for the other ones.