
I was wondering - how would I specify the interval (the amount that n increases each time) between terms? Is that possible? What if I want it to increase by, say, 2, each time instead of one.
In Python it would be n += 2 -> I'm looking for an equivalent...
You could do it two different ways. You could use a substack, like this
$$ \prod_{\substack{n=1 \\ 2 \mid n}}^\infty \frac{4n^2}{4n^2 -1} .$$
Or you could also let $n = 2m$ (or $n = 2m - 1$ if you want to start at $1$) and take the product as $m$ goes from $1$ to $\infty$, like this
$$ \prod_{m=1}^\infty \frac{4(2m)^2}{4(2m)^2-1} . $$