The coulomb hole and the correlation energy for the electron gas at intermediate densities