fricas (1) -> factor(simplify((1+x)^3))
Type: Factored(Expression(Integer))
vs. fricas factor((1+x)^3)
Type: Factored(Polynomial(Integer))
simplify changes the type to Why does factor refuse to factor an Expression Integer but succeeds with Polynomial Integer? fricas simplify((1+x)^3)
Type: Expression(Integer)
fricas factor(%::Polynomial Integer)
Type: Factored(Polynomial(Integer))
simplify takes an |