This is LaTeX code:
[latex]
3a_1,\, 3a_2,\, \ldots,\, 3a_n
[/latex]