Let λBα and λP∞ be the wavelength of the first line, i.e., the longest wavelength line, of the Balmer series and the shortest wavelength of the Paschen series, respectively.
Data : λBα = 6560 Å

For the longest wavelength of the Balmer series,
n = 2 and m = 3.

For the shortest wavelength of the paschen series,
n = 3 and m = \(\infty\).

Dividing Eq. (1) by Eq. (2), we get,
