What would be a correct way to write this (or is there another correct way)? Thank you!!
\documentclass[12pt]{article}
\usepackage{amsmath,amsthm,amssymb,amsfonts}
\begin{document}
\begin{gather*}
x_1\cdot x_2 \cdot \dotsm \cdot x_n \\
x_1\cdot x_2 \cdot \dotsc \cdot x_n \\
x_1\cdot x_2 \cdot\, \dotsm \,\cdot x_n
\end{gather*}
\end{document}


x_1\cdot x_2 \dotsm x_n, but that is just me. Welcome to the site. – Steven B. Segletes Nov 17 '16 at 13:20\dotsandamsmathwill choose the right form. – egreg Nov 17 '16 at 13:28\prod_{i = 1}^{n} x_{i}? – Manuel Weinkauf Nov 17 '16 at 13:44