Is $(\mathbf{N}, d)$ metric space if:
$d(m,n)=\begin{cases} 0& m=n\\ \frac{1}{m}+\frac{1}{n}& m\neq n \end{cases}$. $m, n \in \mathbf{N}$
(Note: it's easily proven that it is.)
If it is, does it genearate discrete topology? What sets do the open balls $B(5,1), B(2,2), B(3,\frac{1}{3})$ represent in that space?
I presume that you are working in $\mathbb{N}=\left\{ 1,2,3,\dots\right\} $
Singleton $\left\{ n\right\} =\left\{ m\mid d\left(n,m\right)<\frac{1}{n}\right\} $ is open, implying that the topology is discrete.
$B\left(5,1\right)=\left\{ m\mid d\left(5,m\right)<1\right\} =\left\{ 5\right\} \cup\left\{ m\mid\frac{1}{5}+\frac{1}{m}<1\right\} $
So just solve the inequality $\frac{1}{5}+\frac{1}{m}<1$
The others can be done likewise.