Dynamic effect of electron-number parity in metal nanoparticles