Calculation of pair correlations in a high-density electron gas : Constraints for effective interparticle potentials