Assume I am given a polynomial of two variables by the list of its coefficients, $P(X,Y)=\sum_{i,j}C_{ij}X^i Y^j$, and that this polynomial is symmetric, i.e. $C_{ij}=C_{ji}$.
I am looking for an efficient algorithm for rewriting this polynomial on the basis of the elementary symmetric polynomials $\{X+Y,XY\}$.