Generalized ladder operators for the perturbed harmonic oscillator