According to Rydberg equation: λ1=RZ2(n121−n221)
So, keeping R,n1,n2 same, wavelength is inversely proportional to the square of atomic number (Z).
For H-atom, Z=1
For D atom, Z=1
For He+ ion, Z=2
For Li2+ ion, Z=3
So, shortest wavelength of transition will correspond to maximum Z2+ i.e. for Li2+ ion