In case of He+ ion the Rydberg constant happens to be four times that in case of hydogen atom. Therefore, to have the same wavelength of some spectral line one must have [nf21−ni21]=4[pf21−pi21]
where nf and ni are principal quantum numbers of final and initial orbits for hydrogen atom and pf and pi are those for He+ ion. This gives pf=2nf and pi=2ni