Given an arbitrarily large set of natural numbers greater than one,
S = {$p_0$, $p_1$, ... $p_n$}
product of S = $\prod_{i=0}^n\ p_i$
define M as the set of all natural numbers that are multiples of any member of S, smaller or equal than the product and larger than zero.
Is there a formula for the cardinality of M given S?
E.g S = {2,3} M = {2,3,4,6} cardinality of M = 4.
I can think of the formula for specific lengths but not of a general form.