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.
Consider the $p-1$ products $kl$ as $l$ ranges from $1$ to $p-1$. Clearly none of them is a multiple of $p$, and if none of them is congruent to $1$ either, then two of them must have the same residue, by the Pigeonhole Principle. Can you see why that is impossible?