Photon-number-dependent effective Lamb shift