The dependence of the velocity autocorrelation function on the intermolecular potential and on the memory function