I‘m a little bit confused with this proof question, because it does intuitively not make any sense:
Let r = pm for m in $\mathbb{Z}$ and p prime, let q be a rational number and |.|p be the p-adic norm on $\mathbb{Q}$.
Let S(q,r) denote the sphere around q with radius r, that is S = {t in $\mathbb{Q}$ | |q-t| p = r}. Show that S(q,r) is open with respect to |.| p
Hint: Choose 0< $\varepsilon$ < r. Show that q1 $\in$ S(q,r) => B(q1, $\varepsilon$) $\subset$ S(q,r).
Hints
Of course it "does not intuitively make sense" if your intuition is only Euclidean space.
Your hint says that if $|q-q_1|_p=r$ and $|x-q_1|_p=\varepsilon$, then $|x-q|_p = r$. Try proving this using the definition of $|\cdot|_p$.
That is:
If $p^m$ is the highest power of $p$ that divides $q-q_1$ and $p^n$ (with $n>m$) is the highest power of $p$ that divides $x-q_1$, then $p^m$ is the highest power of $p$ that divides $x-q$.