# Notation for product of arbitrary list

If I have an arbitrary list

$$L = [2,3,7]$$

What is the proper notation for the product of all the elements in this list?

My guess is

$$\prod_{x\in L} x = 42$$

or maybe

$$\prod_{i} x_i, x \in [2,3,7] = 42$$

Are either of these correct?

• The first one is better – user251257 Oct 2 '16 at 17:51

Yeah, the first one is more standard in mathematics. $$\prod_{x\in L} x = 42$$