In atoms, as the number of shell increases, the energy differences between the shells decreases. It means that the energy difference between n1 and n2 is higher than between n2 and n3 and in the same way energy difference is more between n2 and n3 than between n3 and n4. We know that, E=hv=λhc wave length is inversely proportional to energy difference. So, in the given alternates wave length is maximum between n4 to n3 because between n4 and n3 energy difference is minimum.