This is LaTeX code:

[latex]
f: [1,3] \cup{5} \rightarrow <2,4>
[/latex]