Nonlinear response of closed-shell atoms in the density-functional formalism.

The nonlinear response of an arbitrary electronic system to a time-dependent perturbation is treated within the density-functional formalism. Expressions for quadratic and cubic responses for a system of independent electrons are obtained in a form suitable for numerical calculations. The frequency dependence of the linear and cubic electric susceptibilities of rare-gas atoms are computed and compared with experiment.