These are some frames starting from the random initial condition to the fully-developed oscillator stage for the parameters
n = 100; k1=k2=3; g=25;
And an animated version: