This is LaTeX code:
[latex]
a_{r(i)}
[/latex]