The hydration energy of Mg2+ is greater than that of
With the same charge, Be2+ has greater charge density than Mg2+. Al3+'s charge density is even higher.
The more the charge density, the greater the extent of hydration.
Hydration of Mg2+ > Na+