0

I want to find the least residue of $95!$ mod $97$. So I wanna solve $$95! \equiv_{97} x$$ where $x \in \mathbb{Z}^+$ is minimum, but Wilsons theorem

$$96! \equiv_{97} -1$$

so multiplying the top equation by 96 I obtain

$$-1 \equiv_{97} 96x$$

which forces $x=1$. Did I do this correctly using Wilsons theorem?

homosapien
  • 4,157

0 Answers0