Maxima Function
gfactorsum (expr)
is similar to factorsum but applies gfactor instead of factor.
factorsum
gfactor
factor