Algebraic Methods in Nonlinear Perturbation Theory