According to Bohr’s theory, a line in the Ballmer series arises when the electron jumps from any of the higher orbits to the orbit with quantum number:
The hydrogen atoms are excited to the stationary state designated by the principal quantum number n=4, the number of maximum spectral lines are observe: