Oscillations and quantized second-harmonic generation.