the first, if you follow the words thru the derivation,
is the frequency that the electron orbits the center.
the second is the frequency of the light emitted
during a CHANGE from one orbit to another.
(If the n's are small integers, we should expect that
the two are roughly the same order-of-magnitude,
so the light comes from a resonance in the changing atom)