show $b_1b_2b_3\cdots b_{\phi(m)} \equiv 1 \pmod{m}$ or $b_1b_2b_3\cdots b_{\phi(m)} \equiv -1 \pmod m$
where $b_1 < b_2 < b_3<\cdots< b_{\phi(m)}$ are the integers between $1$ and $m$ that are relatively prime to $m$.
Seems like a simple enough exercise, but i am running into a dead end on how to start. Suggestions on how to begin? I'd prefer not to get a full solution but some breadcrumbs to lead me in the right directon.
I tnought of am idea similar to what was used in the proof of Fermat's little theorem, but that wouldn't work.
edit: no group theory solutions, any hints if they can be restricted only to number theory.