Special magic squares

Besides the ordinary magic squares, where the sum of the numbers in the rows, columns and diagonals is equal, there are also magic squares where this is true for the product of the numbers. You can easily find them yourself. I will show you how later on.
There are also squares, where within each row, column or diagonal, the sum of the square (or higher power) of the numbers is always equal. These magic squares are more difficult to find than the ordinary ones and sometimes they exist only from a certain order of the square.
☞ The order of a square is the number of rows (and thus also the number of columns).

Squares with squared numbers

In these squares, the numbers themselves are not magic, but the squares of the numbers are.
Here is an example:
682292412372
172312792322
592282232612
11277282492
462484116811369
28996162411024
34817845293721
1215929642401
Sum of the squares in each row, column or diagonal: 8515

Bimagic squares

If the numbers themselves also form a magic square, this is called a bimagic square. It is assumed that there are no bimagic squares with an order smaller than 8.
Here is an example:
164136527625518
266354191344338
140451222515831
23505930437489
383104749242960
522132573921146
431473464252053
612817564215635
Sum of the squares in each row, column or diagonal: 260
256168112962572938443025324
676396929163611691936108964
11600202514448426013364961
52925003481900161369230481
14449100220924015768413600
270444110243249152141212116
184919649115640966254002809
372178428931361764225361225
Sum of the squares in each row, column or diagonal: 11180

Trimagic squares

There are trimagic squares. These are squares that remain magic if all the numbers are squared or taken to the third power. Only trimagic squares of order 12, 32, 64, 81 and 128 are known. I have one of order 12.

1975741401225513273588051
221191418101762711764983463
334535106124142956828410531
411154849428613591121116620
6210757126067130111091389225
669314433712689993216127128
79521311021081956461131291817
83388813385781513436753120
1043097961035910542429139125
1121001103921350771436140114
123264137446911828814711182
1441367071523901372876594
The sum of the squares in each row, column or diagonal is 870
1292752742140212225521322732582802512
222119214128210127622721172642982342632
332452352106212421422952682228421052312
412115248249242286213529121212116262202
6221072572122602672130211210921382922252
662932142432372126289299232216212721282
79252213121022108219256246211321292182172
83238288213328527821521342362725321202
1042302972962103259210254224229213921252
1122100211023922123250277214326124021142
123226242137244269211822828124721112822
1442136270271252232902132722872652942
1815625547619600148843025174245329336464002601
484141611988164102015776729136894096960411563969
108920251225112361537620164902546244705611025961
1681132252304240117647396182258281146411345636400
3844114493249144360044891690012111881190448464625
4356864919618491369158767921980110242561612916384
62412704171611040411664361313621161276916641324289
688914447744176897225608422517956129649280914400
108169009409921610609348110029165768411932115625
1254410000121001521441925005929204493721160012996
151296761618769193647611392478465612209123216724
2073618496490050412552981001695184756942258836
The sum of the squares in each row, column or diagonal is 83810
1393753743140312235531323733583803513
223119314138310137632731173643983343633
333453353106312431423953683238431053313
413115348349342386313539131213116363203
6231073573123603673130311310931383923253
663933143433373126389399332316312731283
79352313131023108319356346311331293183173
83338388313338537831531343363735331203
1043303973963103359310354324329313931253
1123100311033932133350377314336134031143
123326343137344369311832838134731113823
1443136370371353233903133723873653943
1729421875405224274400018158481663752299968389017195112512000132651
1064816851592803221512103030143897619683160161326214494119239304250047
3593791125428751191016190662428632888573753144328592704115762529791
689211520875110592117649740886360562460375753571177156115608962168000
23832812250431851931728216000300763219700013311295029262807277868815625
28749680435727447950750653200037670496997029932768409620483832097152
4930391406082248091106120812597126859175616973361442897214668958324913
57178754872681472235263761412547455233752406104466563431488771728000
11248642700091267388473610927272053791000157464138242438926856191953125
140492810000001331000593199261271250004565332924207226981640001481544
186086717576642571353851843285091643032219525314411038231367631551368
29859842515456343000357911125121677290002197373248658503274625830584
The sum in each row, column or diagonal is 9082800

Magic squares with × instead of +

If, instead of adding the numbers, you multiply them, you can also get a magic square. The product of all the numbers in the rows, columns and diagonals is then the same. Here is an example:

2
256
8
64
16
4
32
1
128

You can make a multiplication magic square yourself very easily. Make an ordinary magic square, possibly with my programme on this page. Choose a base number, for example 2. Replace all the numbers in the magic square with that base to the power (number in the diagram). The square above is derived from the following ordinary magic square by choosing ground number 2.
1
8
3
6
4
2
5
0
7
The magic constant in this case is 12.

We can make another multiplication magic square by choosing base number 3:
31
38
33
36
34
32
35
30
37

  → 
3
6561
27
729
81
9
243
1
2187

So from an ordinary magic square, you can make infinitely many different multiplication magic squares. The magic multiplication constant is easy to calculate: the base number to the power (magic constant of the ordinary square). So for the square above: 312 = 531441.

Magic square for both sum and product

That is also possible: the sum in each row, column and diagonal is 840, the product is 2058068231856000.

46811171021576200203
1960232175546915378
2161611752171905875
13511450871841891368
1502614538911369227
119104108231742255730
116251331205126162207
393413824310029105152