/-
Copyright 2026 The Formal Conjectures Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-/modulepublicimportFormalConjecturesUtil
Wilf's Conjecture on Numerical Semigroups
An additive submonoid $S \le \mathbb{N}$ with finite complement $G(S) = \mathbb{N} \setminus S$
forms a numerical semigroup. Write
$c(S) = \min{c \in \mathbb{N} : \forall m \ge c,, m \in S}$
for its conductor, $n(S) = |S \cap [0, c(S))| = c(S) - |G(S)|$ for the count of sporadic elements
below $c(S)$, and $e(S) = |S_{>0} \setminus (S_{>0} + S_{>0})|$ for its embedding dimension (the
size of its unique minimal generating set).
Herbert S. Wilf [Wi78] conjectured that $c(S) \le e(S) \cdot n(S)$ holds for all numerical
semigroups $S$ (equivalently $e(S) \ge (F(S) + 1) / (F(S) + 1 - |G(S)|)$ when $S \subsetneq
\mathbb{N}$ has largest gap $F(S) = c(S) - 1$, as stated on Wikipedia's Coin problem page).
Fröberg, Gottlieb, and Häggkvist [FGH87, Theorem 20] proved the inequality whenever $e(S) \le 3$
(sourced directly from [FGH87]); the general case remains open.
References:
[Wi78] H. S. Wilf, A circle-of-lights algorithm for the "money-changing problem", Amer. Math.
Monthly 85 (1978), no. 7, 562–565, DOI: 10.1080/00029890.1978.11994639.
[FGH87] R. Fröberg, C. Gottlieb, and R. Häggkvist, On numerical semigroups, Semigroup Forum
35 (1987), no. 1, 63–83, DOI: 10.1007/BF02573091.