tallies the sequences of B-ranks that occur for sums of pairs of monomials in R = S/(d-th powers of the variables), with full complexity (=c); that is, for an appropriate syzygy M of M0 = R/(m1+m2) where m1 and m2 are monomials of the same degree.
i1 : setRandomSeed 0 o1 = 0 |
i2 : sumTwoMonomials(2,3)
-- used 0.415489 seconds
2
Tally{{{2, 2}, {1, 2}} => 3}
-- used 0.13956 seconds
3
Tally{{{2, 2}, {1, 2}} => 1}
-- used 1.011e-6 seconds
4
Tally{}
|