Just enter a value when prompted to get a 4x4 magic square with each column/row/diagonal and various subgroups adding to your value. When table is dispayed you can cycle through the groups that add up to your value. For totals of 66 or more there is a random element so the square isn't always the same.
I learned to create magic squares with odd-number sides (3x3, 5x5 etc) nearly 50 years ago but never thought too much about 4x4 etc until I had an idea a few days ago which gives me a method. I've since found an easy method online but wanted to pursue my method.