Modulus operation with respect to $q\in\mathbb{Z}\setminus{\{0\}}$ (i.e., non-zero integers) is defined as
$$a ~\text{mod}~ q = r,$$
where $r$ is such that $a = nq + r$ for some $n\in\mathbb{Z}$ and $r\in\mathbb{N}_0$. Is there a formal definition of a modulus operation with respect to an arbitrary sequence $(q_1, q_2, \ldots)$ with $q_i \in \mathbb{N}$, defined as
$$ a ~\text{mod}~ (q_1, q_2, \ldots) = r, $$ where $r = a - \sum_{i=1}^{n}q_i$ with $n=\text{sup}\{k : \sum_{i=1}^{k}q_i \le a\}$.
For example $17~\text{mod}~(1, 2, 3, \ldots) = 2$, since $17 = 1 + 2 + 3 + 4 + 5 + \bf{2}$.
I wonder if such operation is being used in scientific literature. If that is the case, is it reffered to as a modulus operation with respect to a sequence or by other term?