The dynamic scalar and tensor polarizabilities of Sc and Ti are computed with time-dependent density functional theory. These polarizabilities are used to compute the isotropic and anisotropic dispersion interactions in ScHe and TiHe. We find
C6,0(ScHe)=30.00, ${C}_{6,2}(\mathrm{ScHe})=\ensuremath{-}1.63$,
C6,0(TiHe)=28.40, and ${C}_{6,2}(\mathrm{TiHe})=\ensuremath{-}0.90$
(Eha06). We show that an estimate of the dispersion anisotropy based on static polarizabilities results in an overestimation by a factor of 2.
The van der Waals coefficients,
C6,C8, and
C10 for the alkali-metal (Li, Na, K, and Rb) and alkaline-earth-metal (Be, Mg, Ca, and Sr) atoms are estimated by a combination of ab initio and semiempirical methods. Polarizabilities and atom-wall coefficients are given as a diagnostic check, and the lowest order nonadiabatic dispersion coefficient,
D8 and the three-body coefficient,
C9 are also presented. The dispersion coefficients are in agreement with the available relativistic many-body perturbation theory calculations. The contribution from the core was included by using constrained sum rules involving the core polarizability and Hartree-Fock expectation values to estimate the f-value distribution.