Studies on Rydberg orbitals. IV. Basic formulas for the one-electron perturbation calculation of molecular Rydberg excited states