Let $5$ be a primitive root of $97$ and $\text{ind}_5 (45)=45$ find the number of solutions of $x^k\equiv 45\pmod{97}$ where $k=7,8,9$
My attempt:
$$5^{45}\equiv 45 \pmod{97}$$
For $k=7:$
$$x^7\equiv 45\pmod{97}$$
$$\text{ind}_5x^7=7\cdot\text{ind}_5x\equiv45 \pmod{\phi(97)}$$
$$7\cdot\text{ind}_5x\equiv45 \pmod{96}$$
$$\text{ind}_5x\equiv75 \pmod{96}$$
I am stuck here
For a given integers $a,b,m$ let $d=\gcd(a,m)$. Generally, the number of solutions of $ax\equiv b(\text{mod}\,m)$ is $0$ if $d\nmid b$ or $d$ if $d\mid b$.
In your case, the congruence is equivalent to the following linear congruence: $$ k\cdot\text{ind}_5x\equiv 45(\text{mod}\,96) $$ Hence, the number of solutions is $\gcd(k,96)$ if $\gcd(k,96)\mid 45$ or $0$ if $\gcd(k,96)\nmid 45$.