\documentclass{article}


\usepackage{amsmath}

\begin{document}

$1,2,\dotsc,n$, $\int\dotsi\int f$.

\end{document}
