Suppose that the congruence $x^2\equiv-1\pmod{p}$ is solvable, where $p$ is a prime. Then show that the congruence $x^2\equiv-1\pmod{p^s}$ is solvable for any $s\geq2$. (Hint: Use induction argument.)
What I have done is that : $2$, $4$, $p^k$, $2p^k$ where $p$ is odd prime, has primitive root. So let's suppose $p$ is odd prime and primitive root of $p^s$ is $g$, then $g^{{p^{s-1}(p-1)}/2} \equiv -1 \pmod {p^{s}} $. I tried to find $x$ but I think I am on the wrong track. So I want to restart this problem, but I don't know how to start in a different way.
If $b^2\equiv a\pmod{p^k},$ i.e., $b^2=a+Ap^k$
If $p|A,$ we are done
Else
$(b+rp^s)^2=b^2+2brp^s+(rp^s)^2\equiv a+(A+2br)p^k\pmod{p^{k+1}}$ for $2k\ge k+1\iff k\ge1$
So, we need $A+2br\equiv0\pmod p$
As $(A,p)=(b,p)=1, $ we can always find $r\equiv-A(2b)^{-1}\pmod p$