Despite being a mathematician, he is not remembered for any work in that field; rather, his major contribution (made at the age of sixty, in 1885) was an empirical formula for the visible spectral lines of the hydrogen atom, the study of which he took up at the suggestion of Eduard Hagenbach also of Basel.