
Wavelength of photons released during de-excitation is given by,
λ1=R[(n1)21−(n2)21].
Clearly, shortest wavelength will correspond to highest energy difference in de-excitation, which in the given figure will correspond to transition from n=3 to n=1.
