I'm trying to evaluate the following scenario:
$$7^b \equiv 9\pmod {17}$$
Find the smallest value for b in which the equivalence holds true.
I know that we can rewrite this as :
$$17 \mid (7^b - 9)$$
But I'm not sure how to continue, could anyone help me out?
Thanks in advance.