I think not the same.
Because Ba= 2,8,18,18,8,2 whereas Na= 2,8,1 which Mg=2,8,2
9.5m questions
12.2m answers