\nonstopmode
\documentclass[12pt]{article}
\pagestyle{empty}
\begin{document}
$$
a_{1},a_{2},a_{3},\ldots ,a_{n}
$$
\end{document}
