cos3x + cos2x + cosx = 0