We know that $\lim x_n = a$ is equivalent to $\lim |x_n-a|=0$.
I am trying to show that $$\limsup x_n = a \iff \limsup |x_n - a |= 0$$
Define $s_n := \sup_{m \geq n} x_m$. By definition, $\limsup x_n = \lim s_n$. So $$\limsup x_n = a \iff \lim s_n = a \iff \lim |s_n - a|=0$$ Note that: $s_n - a = \sup_{m \geq n} x_m - a = \sup_{m \geq n} \{x_m - a\}=: \bar s_n$. So: $$\limsup x_n = a \iff \lim |\bar s_n|=0 $$
Moreover, defining $\tilde s_n := \sup_{m \geq n} |x_m - a|$ $$\limsup |x_n - a |= 0 \iff \lim \tilde s_n = 0$$
It remains to show that $$\lim |\bar s_n|=0 \iff \lim \tilde s_n = 0 $$
But I think that it is not true. Do you have a counterexample? or... is this true?
False. Counter-example: $x_n=(-1)^{n}, a=1$.