If the bare interaction between two electrons is dressed in the two-dimensional electron gas by the response of the many-body environment, pairing may occur. Here, we study numerically the existence and character of bound states in the case where the dressing in the pair-interaction energy is described by the Overhauser geminal model ͓A. W. Overhauser, Can. J. Phys. 75, 683 ͑1995͔͒. The starting point of the model is the exchange correlation hole around a single electron. We constrain the hole by arguments based on the results for the exchange-correlation energy and the contact density of the pair-correlation function. We find a bound state with the energy minimized at a certain electron gas density. On the basis of the behavior of the binding energy we discuss recent experimental findings for the electron density dependence of the critical temperature in cuprate, Chevrel-phase, and Li-intercalated Li x ZrNCl superconductors.