This is LaTeX code:

[latex]
B_{n}=[\frac{1}{n},5+\frac {1}{n}], n\in \mathbb{N}
[/latex]