Resonant nonlinear polarizabilities in the time-dependent density functional theory | Synapse