First time here? Check out the FAQ!
answered 2024-07-01 10:40:43 +0100
Like this:
K.<x_1,x_2,x_3,x_4> = QQ[] p = (x_1-x_2)*(x_1-x_3)*(x_1-x_4)*(x_2-x_3)*(x_2-x_4)*(x_3-x_4)^18*(x_1^2+x_2^2+x_3^2+x_4^2)^2 print( p.monomial_coefficient(x_1^11*x_2^8*x_3^5*x_4^2) )