-- -*- M2-comint -*- hash: 1151309536987409710

i1 : kk = QQ

o1 = QQ

o1 : Ring

i2 : S = kk[x,y,z]

o2 = S

o2 : PolynomialRing

i3 : C1 = ideal (y^3 - x^2*(x-z)) -- cubic with a node; geometric genus 0

              3    3    2
o3 = ideal(- x  + y  + x z)

o3 : Ideal of S

i4 : C2 = ideal(x^2+y^2+z^2)

            2    2    2
o4 = ideal(x  + y  + z )

o4 : Ideal of S

i5 : C3 = ideal (x^4+y^4+z^4)

            4    4    4
o5 = ideal(x  + y  + z )

o5 : Ideal of S

i6 : geometricGenus C1

o6 = 0

i7 : geometricGenus C2

o7 = 0

i8 : geometricGenus C3

o8 = 3

i9 : 
