What is the magic number in a magic square obtained by?