“…gap> LoadPackage("num");; gap> NumSgpsUseNormaliz();; gap> A:=[ [1,2], [2,1], [2,2], [3,1], [3,5],[-2,-1]];; gap> n:=Length(A);; gap> F:=FactorizationsVectorWRTList([1,1], A); [ [ 0, 0, 0, 6, 1, 10 ], [ 0, 0, 1, 1, 0, 2 ], [ 1, 0, 0, 2, 0, 3 ] ] gap> List(F,i->i[n]); [ 10,2,3 ] The computations above show that V 13 = {(0, 0, 0, 6, 1, 10), (0, 0, 1, 1, 0, 2), (1, 0, 0, 2, 0, 3)}. The package manual of numericalagps explains that, if v is a list of non-negative integers and ls is a list of lists of non-negative integers, then the function FactorizationsVectorWRTList( v, ls ) returns the set of factorizations of v in terms of the elements of ls.…”