Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
| Download
GAP 4.8.9 installation with standard packages -- copy to your CoCalc project to get it
Project: cocalc-sagemath-dev-slelievre
Path: gap4r8 / pkg / NumericalSgps-1.1.5 / doc / Adding_and_removing_elements_of_a_numerical_semigroup.xml
Views: 418346<?xml version="1.0" encoding="UTF-8"?>1<Section>2<Heading>3Adding and removing elements of a numerical semigroup4</Heading>56In this section we show how to construct new numerical semigroups from a given7numerical semigroup. Two dual operations are presented. The first one removes8a minimal generator from a numerical semigroup. The second adds a special gap9to a semigroup (see <Cite Key="RGGJ03"></Cite>).10<ManSection>11<Func Arg="n, S" Name="RemoveMinimalGeneratorFromNumericalSemigroup"></Func>12<Description>13<A>S</A> is a numerical semigroup and <A>n</A> is one if its minimal14generators.15<P/>1617The output is the numerical semigroup <M> <A>S</A> \setminus\{<A>n</A>\} </M>18(see <Cite Key="RGGJ03"></Cite>; <M>S\setminus\{n\}</M> is a numerical19semigroup if and only if <M>n</M> is a minimal generator of <M>S</M>).2021<Example><![CDATA[22gap> s:=NumericalSemigroup(3,5,7);23<Numerical semigroup with 3 generators>24gap> RemoveMinimalGeneratorFromNumericalSemigroup(7,s);25<Numerical semigroup with 3 generators>26gap> MinimalGeneratingSystemOfNumericalSemigroup(last);27[ 3, 5 ]28]]></Example>29</Description>30</ManSection>3132<ManSection>33<Func Arg="g, S" Name="AddSpecialGapOfNumericalSemigroup"></Func>34<Description>35<A>S</A> is a numerical semigroup and <A>g</A> is a special gap of <A>S</A>3637<P/>3839The output is the numerical semigroup <M> <A>S</A> \cup\{<A>g</A>\} </M>40(see <Cite Key="RGGJ03"></Cite>, where it is explained why this set is a41numerical semigroup).42<Example><![CDATA[43gap> s:=NumericalSemigroup(3,5,7);;44gap> s2:=RemoveMinimalGeneratorFromNumericalSemigroup(5,s);45<Numerical semigroup with 3 generators>46gap> s3:=AddSpecialGapOfNumericalSemigroup(5,s2);47<Numerical semigroup>48gap> SmallElementsOfNumericalSemigroup(s) =49> SmallElementsOfNumericalSemigroup(s3);50true51gap> s=s3;52true53]]></Example>54</Description>55</ManSection>56</Section>57585960