If semigroup L is the Weierstrass semigroup of a Riemann surface C at a point, then #gaps L = g = h^0(omega_C), the genus of C. Furthermore, the number of elements of sums(n, G) is bounded by the dimension of h^0(omega_C^n) = n*(2g-2)-g+1 = (2n-1)g-2n+1. However, for an arbitrary semigroup the number #sums(n,G) may be larger; the first such example was found by Ragnar Buchweitz, and is given below.
The function isGapSequence returns either false or generators of the semigroup of which the sequence is the gap sequence.
|
|
|
|
|
The object gaps is a method function.