How to show $x^2=20$ has no solution in $2$-adic ring of integers $\mathbb{Z}_2$ ?
What is the general criterion fora solution of $x^2=a$ in $\mathbb{Z}_2$ ?
I know for odd prime $x^2=a$ has solution in $\mathbb{Z}_p$ or in other word $a$ is quadratic residue modulo $p$ if $a_0$ is quadratic residue modulo $p$, where $a=a_0+a_1p+a_2p^2+\cdots \in \mathbb{Z}_p$.
But what about for $p$ even i.e., $p=2$ ?
We have two following results as well.
Result $1$: For $p \neq 2$, an $\epsilon \in \mathbb{Z}_p^{\times}$ is square in $\mathbb{Z}_p$ iff it is square in the residue field of $\mathbb{Z}_p$.
Result $2$: An unit $\epsilon \in \mathbb{Z}_2^{\times}$ is square iff $\epsilon \equiv 1 (\mod 8)$.
But as $20$ is not a unit in $\mathbb{Z}_2$, the above Result $2$ is not applicable here.
So we have to use other way.
I am trying as follows:
For a general $2$-adic integer $a$, we have the following form $$ a=2^r(1+a_1 \cdot 2+a_2 \cdot 2^2+\cdots).$$ Thus one necessary criterion for $a \in \mathbb{Q}_2$ to be square in $\mathbb{Q}_2$ is that $r$ must be even integer.
Are there any condition on $a_1$ and $a_2$ ?
For, let $\sqrt{20}=a_0+a_1 2+a_22^2+a_32^3+\cdots$.
Then squaring and taking modulo $2$, we get $$ a_0^2 \equiv 0 (\mod 2) \Rightarrow a_0 \equiv 0 (\mod 2).$$ Thus, $\sqrt {20}=a_12+a_22^2+a_32^3+\cdots$.
Again squaring and taking modulo ($2^2)$, we get $$a_1 \equiv 1 (\mod 2^2).$$ Thus we have $\sqrt{20}=2+a_22^2+a_32^3+\cdots$.
Again squaring and taking modulo $(2^3)$, we get no solution for $a_i,\ i \geq 2$.
What do I conclude here from ?
How do I conclude that $x^2=20$ has no solution in $\mathbb{Z}_2$ ?
Help me
It seems like your attempt probably works.
A slightly more general version of Result 2 that could help you is that squares in the $2$-adic integers are of the form $2^{2k}u$ where $u\in \mathbb Z_2^*$ is congruent to $1$ mod $8$. Since $20$ is not of this form, it is not a square.
One can see this follows immediately from Result 2 and your observation that the valuation of a square is a square: if $x$ is a square then it has valuation $2^{2k}$ for some integer $k$, and so $x2^{-2k}=u$ is a square (product of squares is a square) with unit valuation and so by Result 2, $u=1$ mod $8$. Conversely anything of that form is clearly a square by applying Result 2 again (and observing the product of squares is a square).