On the theory of the Balmer series