Sylvester sums are power sums over nonrepresentable integers in numerical semigroups, central to Frobenius problems and gap analysis.
They generalize to weighted and higher-power variants through generating-function approaches and recursive combinatorial methods.
Sylvester double sums appear in elimination theory, linking root-symmetric expressions with subresultants and interpolation techniques.
Sylvester sums are a family of constructions named after J. J. Sylvester that occur in several adjacent literatures. In numerical semigroup theory and the Frobenius problem, they are the power sums of the nonrepresentable positive integers; in elimination theory they are the root-symmetric single and double sums that encode resultants and subresultants; and in partition theory the related language of Sylvester waves refers to quasiperiodic components of restricted partition functions. The dominant modern usage concerns the Frobenius set NR(a1,…,ak), where the basic Sylvester sum is s(a1,…,ak)=∑n∈NRn, but contemporary work also studies higher powers, weighted variants, structured multi-generator families, and the classical double-sum formulas attached to two polynomials (Komatsu, 2022, Krick et al., 2015, Rubinstein, 23 Dec 2025).
1. Numerical semigroups, gaps, and the basic Sylvester invariants
Let a1,…,ak be positive integers with gcd(a1,…,ak)=1. The numerical semigroup they generate is
⟨a1,…,ak⟩={i=1∑kxiai:xi∈Z≥0}.
The set of positive integers that are not representable in this form is
NR(a1,…,ak)={n∈Z>0:n∈/⟨a1,…,ak⟩}.
Within this framework, the Frobenius number is the largest gap,
g(a1,…,ak)=maxNR(a1,…,ak),
the Sylvester number is the cardinality
n(a1,…,ak)=#NR(a1,…,ak),
and the Sylvester sum is
s(a1,…,ak)=n∈NR(a1,…,ak)∑n.
In numerical semigroup theory, the Sylvester number is also the genus (Komatsu, 2022).
For two generators, the classical theory is explicit. If gcd(a,b)=1, then
s(a1,…,ak)=∑n∈NRn0
and Brown–Shiue’s formula gives
s(a1,…,ak)=∑n∈NRn1
The higher-power sums
s(a1,…,ak)=∑n∈NRn2
are also called Sylvester sums in the two-generator literature. In particular,
s(a1,…,ak)=∑n∈NRn3
is one of the classical explicit formulas recalled in the recent weighted-sum literature (Komatsu et al., 2021).
2. Two-generator theory: power sums, weights, and recursion
For coprime s(a1,…,ak)=∑n∈NRn4, one standard notation is
s(a1,…,ak)=∑n∈NRn5
so that s(a1,…,ak)=∑n∈NRn6 and s(a1,…,ak)=∑n∈NRn7. Recent work has enlarged this to weighted Sylvester sums
s(a1,…,ak)=∑n∈NRn8
with s(a1,…,ak)=∑n∈NRn9. The cases a1,…,ak0 and a1,…,ak1 recover, respectively, the classical Sylvester sums and the alternating Sylvester sums a1,…,ak2 (Komatsu et al., 2021).
The generating-function treatment of these weighted sums factors a polynomial
a1,…,ak3
as a1,…,ak4, where a1,…,ak5 is the number of representations of a1,…,ak6 as a1,…,ak7 with a1,…,ak8. Differentiation then identifies a1,…,ak9 with gcd(a1,…,ak)=10, and higher derivatives yield gcd(a1,…,ak)=11. For general gcd(a1,…,ak)=12, the resulting formulas are expressed in terms of Apostol–Bernoulli numbers; the singular case gcd(a1,…,ak)=13 is treated separately and leads back to classical Bernoulli numbers (Komatsu et al., 2021).
A second modern approach is recursive and combinatorial. Every gcd(a1,…,ak)=14 with gcd(a1,…,ak)=15 can be written uniquely as
gcd(a1,…,ak)=16
with gcd(a1,…,ak)=17, gcd(a1,…,ak)=18, where gcd(a1,…,ak)=19 in the nonrepresentable case and ⟨a1,…,ak⟩={i=1∑kxiai:xi∈Z≥0}.0 in the representable case. Summing powers of ⟨a1,…,ak⟩={i=1∑kxiai:xi∈Z≥0}.1 in two ways yields a recursive formula for the Sylvester sums ⟨a1,…,ak⟩={i=1∑kxiai:xi∈Z≥0}.2, and the same framework gives a criterion for deciding whether a given integer is representable as ⟨a1,…,ak⟩={i=1∑kxiai:xi∈Z≥0}.3 (Gupta et al., 9 Jul 2025).
These two lines of work are complementary. The generating-function/Apostol–Bernoulli approach produces explicit weighted formulas uniform in ⟨a1,…,ak⟩={i=1∑kxiai:xi∈Z≥0}.4, while the recursive approach derives the unweighted ⟨a1,…,ak⟩={i=1∑kxiai:xi∈Z≥0}.5 from a direct combinatorial decomposition of the interval ⟨a1,…,ak⟩={i=1∑kxiai:xi∈Z≥0}.6. This suggests a durable bifurcation in the modern theory between analytic and combinatorial normal forms.
3. Multi-generator generalizations and Apéry-set formulas
When ⟨a1,…,ak⟩={i=1∑kxiai:xi∈Z≥0}.7, closed formulas are rare and typically exist only for special structured families. The general computational framework is the Apéry set with respect to the least generator ⟨a1,…,ak⟩={i=1∑kxiai:xi∈Z≥0}.8: ⟨a1,…,ak⟩={i=1∑kxiai:xi∈Z≥0}.9
where NR(a1,…,ak)={n∈Z>0:n∈/⟨a1,…,ak⟩}.0 is the least nonnegative representable integer congruent to NR(a1,…,ak)={n∈Z>0:n∈/⟨a1,…,ak⟩}.1, with NR(a1,…,ak)={n∈Z>0:n∈/⟨a1,…,ak⟩}.2. Standard formulas express the Frobenius number, Sylvester number, and Sylvester sum as
NR(a1,…,ak)={n∈Z>0:n∈/⟨a1,…,ak⟩}.3
NR(a1,…,ak)={n∈Z>0:n∈/⟨a1,…,ak⟩}.4
NR(a1,…,ak)={n∈Z>0:n∈/⟨a1,…,ak⟩}.5
For structured families, the main task is therefore to determine NR(a1,…,ak)={n∈Z>0:n∈/⟨a1,…,ak⟩}.6 explicitly and then compute NR(a1,…,ak)={n∈Z>0:n∈/⟨a1,…,ak⟩}.7 and NR(a1,…,ak)={n∈Z>0:n∈/⟨a1,…,ak⟩}.8 (Komatsu, 2022).
Weighted sums in more variables admit a parallel Apéry-set description. If
NR(a1,…,ak)={n∈Z>0:n∈/⟨a1,…,ak⟩}.9
then the decomposition of g(a1,…,ak)=maxNR(a1,…,ak),0 into arithmetic progressions inside each congruence class modulo g(a1,…,ak)=maxNR(a1,…,ak),1 reduces the problem to finite exponential–polynomial sums. In this setting the coefficients are expressed with Eulerian numbers when g(a1,…,ak)=maxNR(a1,…,ak),2, while Bernoulli numbers govern the unweighted power sums g(a1,…,ak)=maxNR(a1,…,ak),3 (Komatsu et al., 2021).
Another important structured class is given by compound sequence semigroups. If g(a1,…,ak)=maxNR(a1,…,ak),4 is a compound sequence arising from a suitable pair g(a1,…,ak)=maxNR(a1,…,ak),5, then the complement g(a1,…,ak)=maxNR(a1,…,ak),6 satisfies a generalized Tuenter identity, and the semigroup is symmetric. In particular,
g(a1,…,ak)=maxNR(a1,…,ak),7
and explicit formulas are given for g(a1,…,ak)=maxNR(a1,…,ak),8, g(a1,…,ak)=maxNR(a1,…,ak),9, and n(a1,…,ak)=#NR(a1,…,ak),0, together with a Bernoulli-number formula for general n(a1,…,ak)=#NR(a1,…,ak),1 (Gassert et al., 2016).
4. Explicit formulas for structured families
Arithmetic progressions and almost arithmetic sequences form the most developed class of closed-form examples. For generators
n(a1,…,ak)=#NR(a1,…,ak),2
explicit formulas are known for the simple Sylvester sum n(a1,…,ak)=#NR(a1,…,ak),3 and for the weighted sum
n(a1,…,ak)=#NR(a1,…,ak),4
The same methods extend to almost arithmetic sequences n(a1,…,ak)=#NR(a1,…,ak),5, to arithmetic sequences with an additional term n(a1,…,ak)=#NR(a1,…,ak),6, and to a geometric-like sequence n(a1,…,ak)=#NR(a1,…,ak),7 (Komatsu, 2022).
A particularly rich extension is the family with an initial block of missing terms,
n(a1,…,ak)=#NR(a1,…,ak),8
where n(a1,…,ak)=#NR(a1,…,ak),9 are omitted. Writing
s(a1,…,ak)=n∈NR(a1,…,ak)∑n.0
the formulas for the Apéry set, Frobenius number, Sylvester number, and Sylvester sum split according to the size of s(a1,…,ak)=n∈NR(a1,…,ak)∑n.1. In the small-gap regime s(a1,…,ak)=n∈NR(a1,…,ak)∑n.2, one has
s(a1,…,ak)=n∈NR(a1,…,ak)∑n.3
while in the bigger-gap regime s(a1,…,ak)=n∈NR(a1,…,ak)∑n.4 the Frobenius number acquires additional case distinctions in s(a1,…,ak)=n∈NR(a1,…,ak)∑n.5 and an extra s(a1,…,ak)=n∈NR(a1,…,ak)∑n.6-type shift (Komatsu, 2022).
Several special four-generator families collapse to compact floor formulas. For
s(a1,…,ak)=n∈NR(a1,…,ak)∑n.7
s(a1,…,ak)=n∈NR(a1,…,ak)∑n.8
and for
s(a1,…,ak)=n∈NR(a1,…,ak)∑n.9
gcd(a,b)=10
The corresponding Sylvester sums and Sylvester numbers are given by explicit piecewise polynomials in gcd(a,b)=11 modulo gcd(a,b)=12 or gcd(a,b)=13; analogous but more involved formulas exist for gcd(a,b)=14 and gcd(a,b)=15 (Komatsu, 2022).
These families show that the obstruction to closed formulas is not the absence of algebraic structure but the combinatorial complexity of the Apéry set. A plausible implication is that the central difficulty lies in residue-class geometry rather than in the definitions of gcd(a,b)=16, gcd(a,b)=17, and gcd(a,b)=18 themselves.
5. Sylvester double sums and elimination theory
A second major meaning of Sylvester sums belongs to elimination theory. Let
gcd(a,b)=19
and for finite sets s(a1,…,ak)=∑n∈NRn00 write
s(a1,…,ak)=∑n∈NRn01
Sylvester’s double sums are the root-symmetric polynomials indexed by s(a1,…,ak)=∑n∈NRn02, s(a1,…,ak)=∑n∈NRn03, built from subsets s(a1,…,ak)=∑n∈NRn04, s(a1,…,ak)=∑n∈NRn05 and the products s(a1,…,ak)=∑n∈NRn06, s(a1,…,ak)=∑n∈NRn07, s(a1,…,ak)=∑n∈NRn08, and s(a1,…,ak)=∑n∈NRn09. Their degree in s(a1,…,ak)=∑n∈NRn10 is at most s(a1,…,ak)=∑n∈NRn11, and they satisfy the symmetry
The fundamental structural fact is that these double sums are equivalent to subresultants and Bézout coefficients. If s(a1,…,ak)=∑n∈NRn13, then
s(a1,…,ak)=∑n∈NRn14
For larger s(a1,…,ak)=∑n∈NRn15, the remaining cases are either zero or linear combinations of a subresultant and a Bézout coefficient times s(a1,…,ak)=∑n∈NRn16 or s(a1,…,ak)=∑n∈NRn17. Symmetric multivariate Lagrange interpolation and the Exchange Lemma provide a short conceptual route to these identities (Krick et al., 2015).
With multiple roots, the original quotient-of-differences formula no longer makes sense because denominators vanish. A generalized definition uses antisymmetrization, generalized Vandermonde determinants, and symmetric multivariate Hermite interpolation. In that setting, double sums still depend, up to an explicit constant, only on s(a1,…,ak)=∑n∈NRn18, and they coincide with subresultants up to an explicit scalar factor (Roy et al., 2018).
This elimination-theoretic meaning of Sylvester sums is operational in rational interpolation. In the Cauchy interpolation problem, subresultants and their Bézout coefficients give the interpolant s(a1,…,ak)=∑n∈NRn19, and Sylvester single-sum formulas yield explicit root-symmetric expressions for the numerator and denominator. In the osculatory case, where multiplicities intervene, determinantal formulas replace the unavailable general root formulas (D'Andrea et al., 2012).
6. Related notions, applications, and adjacent uses
The term Sylvester also appears in the theory of denumerants and restricted partitions. For a tuple s(a1,…,ak)=∑n∈NRn20, the Sylvester denumerant
s(a1,…,ak)=∑n∈NRn21
is a quasi-polynomial in s(a1,…,ak)=∑n∈NRn22, and Sylvester decomposed it into waves s(a1,…,ak)=∑n∈NRn23, one for each relevant root-of-unity frequency. Recent work derives explicit formulas for these waves by s(a1,…,ak)=∑n∈NRn24-partial fractions, reciprocal degenerate Bernoulli numbers, and generalized Fourier–Dedekind sums (Kiran, 2021).
A parallel line studies the restricted partition function
s(a1,…,ak)=∑n∈NRn25
which Sylvester decomposed as
s(a1,…,ak)=∑n∈NRn26
Here s(a1,…,ak)=∑n∈NRn27 is the polynomial part and the remaining s(a1,…,ak)=∑n∈NRn28 are quasiperiodic components called Sylvester waves. Explicit expressions are now available as finite sums over Bernoulli polynomials of higher order with periodic coefficients, and also as weighted sums of polynomial terms with shifted arguments (Rubinstein, 23 Dec 2025).
In algebraic geometry, Sylvester sums of compound sequence semigroup complements determine the genus of certain towers of superelliptic curves and the s(a1,…,ak)=∑n∈NRn29-Weierstrass weight of the unique point at infinity. In particular, if s(a1,…,ak)=∑n∈NRn30 is that point, then
s(a1,…,ak)=∑n∈NRn31
so a Frobenius-set invariant controls higher-order Weierstrass data (Gassert et al., 2016).
There are also categorical and topological reinterpretations. In the foam-based representation-theoretic setting of iterated wreath products, overlapping foams are used to interpret functors and natural transformations, and the same framework explores a relation between overlapping foams and Sylvester double sums (Im et al., 2021). This suggests that the term now names not a single invariant but a network of closely related constructions: gap sums in numerical semigroups, subset-symmetric elimination formulas, and quasiperiodic components of partition enumerators.