I can code symbols of the type $$\prod_{i=1}^{n}$$ but when it comes to:
I cannot get the less-than-equal sign placed as shown.Can this be done easily?
EDIT: below removed as reason explained in the comments **not sure why $\prod_{i=1}^{n}$ not displaying properly while in math.stackexchange its fine*
\[ … \]
preferable to$$
?\prod_{p\le 7}\left(1-\frac{1}{p}\right)
as a starting point. Note that this will come out different when it is displayed\[..\]
vs. inline$..$
.