Energy of photon E = h ν = h \frac{c}{λ}

E = \frac{1240 eV nm}{λ}  ⟹  λ = \frac{1240 eV nm}{E}

E_{n} = −\frac{13.6}{n^{2}} electronVolts