First time here? Check out the FAQ!
answered 2013-04-15 11:48:49 +0100
You can work in a polynomial ring.
sage: R.<a,b,c> = PolynomialRing(QQ) sage: p = b * a + c * a + 3 * a + b + c sage: p.coefficient(a*b) 1