Explanation:
As
Thus,
where is the number of orbits.
Therefore, as the value of n increases, energy of the electron also increases. Therefore, when becomes infinite, energy also becomes infinite. Due to this reason, maximum energy is possessed by an electron, when it is present at infinite distance from the nucleus.