0

How do you find the smallest value of $a$ where:

$b^a \equiv 1 \pmod{p}$

$b$ is not divisible by $p$, and $p$ is a prime number.

Fermat's little theorem works, but it doesn't ensure that $a$ is minimised.

What else could be used?

green
  • 21

0 Answers0