International audienceContext. Understanding the origin of the initial mass function (IMF) of stars is a major problem for the star formation process and beyond.Aim. We investigate the dependence of the peak of the IMF on the physics of the so-called first Larson core, which corresponds to the point where the dust becomes opaque to its own radiation.Methods. We performed numerical simulations of collapsing clouds of 1000 M⊙ for various gas equations of state (eos), paying great attention to the numerical resolution and convergence. The initial conditions of these numerical experiments are varied in the companion paper. We also develop analytical models that we compare to our numerical results.Results. When an isothermal eos is used, we show...