The energy change is greatest for a hydrogen atom when its state changes from
n=2 to n=1
n=3 to n=2
n=4 to n=3
n=5 to n=4
In n=2 to n=1 case, there is the widest energy gap. Thus, the energy change is greatest for a hydrogen atom.