"Source: Text/Geometry/Crv.text";
"Line: 2231";
"Date: Thu Sep 25 14:47:45 2025";
"Main: Fri Sep 26 14:29:19 2025";
// original file: Text/Geometry/Crv.text, line: 2231
// Example: H124E11 ()
print "Example: H124E11";
ei := GetEchoInput();
SetEchoInput(true);
P<x,y,z> := PolynomialRing(Rationals(),3,"grevlex");
A := (y-z)*x^5+(y^2-y*z)*x^4+(y^3-y^2*z)*x^3+(-y^2*z^2+y*z^3)*x^2+
  (-y^3*z^2+y^2*z^3)*x-y^4*z^2+y^3*z^3;
B := (y^2-2*z^2)*x^2+(y^3-2*y*z^2)*x+y^4-y^2*z^2-2*z^4;
c := IntersectionNumbers(A,B);
c;
SetEchoInput(ei);
