In a previous post I gave an example of an alphamagic square in English. This is a magic square such that if you replace each number with the letter count when spelling out the word, you get another magic square.

I wondered whether I could find an alphamagic square in **Spanish**, so I wrote a script to look. I found two. (Plus there are eight rotations and reflections of each.)

The first is the following:

When spelled out in Spanish the numbers are:

And the number of letters in each cell gives:

Here’s a second example:

Spelled out in Spanish:

Sum of the letters:

If my script is correct, these are the only examples (besides their rotations and reflections) for numbers between 1 and 200.

Any chance for the script? I would like to give Polish language a try.

“If my script is correct”

I trust your script. Do I trust your Spanish, though?