This is LaTeX code:

[latex]
f:(\mathbb{Z}/n\mathbb{Z},+)\rightarrow G, f(i)=g^i
[/latex]