= Numerical semigroup
A <numerical semigroup> is a <subset> of the <nonnegative integers> that contains zero, is closed under <addition>, and has finite complement within the <nonnegative integers>. For example,
$$
\langle3,5\rangle=\{3a+5b:a,b\in\mathbb Z_{\geq0}\}=\{0,3,5,6,8,9,10,\ldots\}.
$$
Its missing values are $1,2,4,7$. To verify that no larger value is missing, observe that $8,9,10$ are present and then repeatedly add three, using <consecutive-base induction for additive semigroups>.
A finite family of positive <integer> generators produces a <numerical semigroup> exactly when their <greatest common divisor> is one. The condition is necessary because all generated <integers> are multiples of that <greatest common divisor>. Sufficiency follows by finding a generated representative of each <residue class> modulo one generator and then adding multiples of that generator.
Back to article page