x^2+y^2=(x+y)^2-xy
x^3+y^3=(x+y)^3-3xy(x+y)
x^5+y^5=(x^2+y^2)(x^3+y^3)-x^2y^2(x+y)