Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download

GAP 4.8.9 installation with standard packages -- copy to your CoCalc project to get it

563630 views
1
<?xml version="1.0" encoding="UTF-8"?>
2
<Section>
3
<Heading>Wilf's conjecture</Heading>
4
5
Let <M>S</M> be a numerical semigroup, with conductor <M>c</M> and embedding dimension <M>e</M>. Denote by <M>l</M> the cardinality of the set of elements in <M>S</M> smaller than <M>c</M>. Wilf in <Cite Key="Wilf"></Cite> asked whether or not <M>l/c\ge 1/e</M> for all numerical semigroups. In this section we give some functions to experiment with this conjecture, as defined in <Cite Key="E"></Cite>.
6
7
8
<ManSection>
9
<Attr Name="WilfNumber" Arg="S" Label="for numerical semigroup"/>
10
<Attr Name="WilfNumberOfNumericalSemigroup" Arg="S"/>
11
<Description>
12
<C>S</C>
13
is a numerical semigroup. Let <M>c</M>, <M>e</M> and <M>l</M> be the conductor, embedding dimension and number of elements smaller than <M>c</M> in <A>S</A>. Returns <M>e l-c</M>, which was conjetured by Wilf to be nonnegative.
14
<Example><![CDATA[
15
gap> l:=NumericalSemigroupsWithGenus(10);;
16
gap> Filtered(l, s->WilfNumberOfNumericalSemigroup(s)<0);
17
[ ]
18
gap> Maximum(Set(l, s->WilfNumberOfNumericalSemigroup(s)));
19
70
20
gap> s := NumericalSemigroup(13,25,37);;
21
gap> WilfNumber(s);
22
96
23
]]></Example>
24
</Description>
25
</ManSection>
26
27
28
<ManSection>
29
<Attr Name="EliahouNumber" Arg="S" Label="for numerical semigroup"/>
30
<Attr Name="TruncatedWilfNumberOfNumericalSemigroup" Arg="S"/>
31
<Description>
32
<C>S</C>
33
is a numerical semigroup. Let <M>c</M>, <M>m</M>, <M>s</M> and <M>l</M> be the conductor, multiplicity, number of generators smaller than <M>c</M>, and number of elements smaller than <M>c</M> in <A>S</A>, respectively. Let <M>q</M> and <M>r</M> be the quotient and negative remainder of the division of <M>c</M> by <M>m</M>, that is, <M>c=qm-r</M>. Returns <M>s l-qd_q+r</M>, where <M>d_q</M> corresponds with the number of integers in <M>[c,c+m[</M> that are not minimal generators of <A>S</A>.
34
<Example><![CDATA[
35
gap> s:=NumericalSemigroup(5,7,9);;
36
gap> TruncatedWilfNumberOfNumericalSemigroup(s);
37
4
38
gap> s:=NumericalSemigroupWithGivenElementsAndFrobenius([14,22,23],55);;
39
gap> EliahouNumber(s);
40
-1
41
]]></Example>
42
</Description>
43
</ManSection>
44
45
46
47
<ManSection>
48
<Attr Name="ProfileOfNumericalSemigroup" Arg="S"/>
49
<Description>
50
<C>S</C>
51
is a numerical semigroup. Let <M>c</M> and <M>m</M> be the conductor and multiplicity of <A>S</A>, respectively. Let <M>q</M> and <M>r</M> be the quotient and nonpositive remainder of the division of <M>c</M> by <M>m</M>, that is, <M>c=qm-r</M>. Returns a list of lists of integers, each list is the cardinality of <M> S \cap [jm-r, (j+1)m-r[</M> with <M> j</M> in [1..q-1].
52
<Example><![CDATA[
53
gap> s:=NumericalSemigroup(5,7,9);;
54
gap> ProfileOfNumericalSemigroup(s);
55
[ 2, 1 ]
56
gap> s:=NumericalSemigroupWithGivenElementsAndFrobenius([14,22,23],55);;
57
gap> ProfileOfNumericalSemigroup(s);
58
[ 3, 0, 0 ]
59
]]></Example>
60
</Description>
61
</ManSection>
62
63
<ManSection>
64
<Attr Name="EliahouSlicesOfNumericalSemigroup" Arg="S"/>
65
<Description>
66
<C>S</C>
67
is a numerical semigroup. Let <M>c</M> and <M>m</M> be the conductor and multiplicity of <A>S</A>, respectively. Let <M>q</M> and <M>r</M> be the quotient and negative remainder of the division of <M>c</M> by <M>m</M>, that is, <M>c=qm-r</M>. Returns a list of lists of integers, each list is the set <M> S \cap [jm-r, (j+1)m-r[</M> with <M> j</M> in [1..q]. So this is a partition of the set of small elements of <A>S</A> (without <M>0</M>).
68
<Example><![CDATA[
69
gap> s:=NumericalSemigroup(5,7,9);;
70
gap> EliahouSlicesOfNumericalSemigroup(s);
71
[ [ 5, 7 ], [ 9, 10, 12 ] ]
72
gap> SmallElements(s);
73
[ 0, 5, 7, 9, 10, 12, 14 ]
74
]]></Example>
75
</Description>
76
</ManSection>
77
78
79
</Section>
80
81