The LCM of the polynomials x3+x2+x+1 and x3−x2+x−1 is
Let GCD =x+1 and LCM =x6−1 for two given polynomials f(x) and g(x). Then, if f(x)=x3+1. what is g(x)?