Quadratic residue modulo odd power of $2$

283 Views Asked by At

If $x$ and $n$ both are odd positive integers, such that, $$x^2 \equiv -1\mod2^n$$ what can we say about $x$ and $n$ ?

2

There are 2 best solutions below

0
On BEST ANSWER

Since odd square $ \equiv 1 \pmod 8$ we infer that if $n \geq 3$, $x^2+1 \equiv 2 \neq -1 \pmod 8$. Thus $n=1$.

0
On

Hint: Note that if $x$ is odd, then $x^2+1\equiv 2\pmod{4}$.