Number-theoretic degeneracy of the energy levels of a perturbed N-dimensional isotropic harmonic oscillator