SymmetricReduction[x^2 + y^2 + z^2 + u^2 + w^2, {x, y, z, u, w}]