An alphamagic square is a magic square where the written numbers on the
rows, columns and diagonals add to the same magic constant. But also the
amount of letters in those words equals to a different magic constant as
well. For example the row 5 + 22 + 18. The sum of these three numbers
would equal to 45. In addition five (4 letters) + twenty-two (9 letters) +
eighteen (8 letters) sums up to 21. If these values are the same for every
row, column and diagonal in a magic square of order n, it is an alphamagic
square. The numbers in this magic square do not have to be
consecutive. The alphamagic square was first discovered by Lee Swallows in 1986.