Solve the following question given below:
Question: Calculate the allowed wavelengths for the emission of a photon initially in the n=3 state in a hydrogen atom.
Please explain all work and steps to determine the allowed wavelengths for the emission of a photon.