Suppose we're given a $k$-long list of rational numbers:
$$q : \{0,\ldots,k-1\} \rightarrow \mathbb{Q}.$$
Then there's a least $n \in \mathbb{Z}_{>0}$ such that $nq_i$ is an integer for all $i$.
Question. What is this integer $n$ called, and does it have any generalizations/related concepts in ring theory?
For what it's worth, I think $n$ can be computed as follows. Given a rational number $q$, lets define that the denominator of $q$ is the least $b \in \mathbb{Z}_{>0}$ such that $q=a/b$ for some integer $a$. This defines a function $$\mathrm{den}:\mathbb{Q} \rightarrow \mathbb{Z}_{>0}.$$ If I'm not mistaken, $n$ can be computed as $$\mathop{\mathrm{lcm}}_{i=0}^{k-1} \mathrm{den}(q_i).$$
Here's a "real" world example of how this shows up. Suppose we have a box with three kinds of chocolate; dark, white, and milk. We're given that if we reach into this box to pull out a random chocolate, there's $1/3$ probability of getting dark, $1/4$ probability of getting white, and hence $5/12$ probability of getting milk. The question is; what's the minimum number of chocolates in this box? The answer can be found by computing $n$ for the aforementioned rational numbers; this gives $12$, so that's the minimum number of chocolates that could be in the box.