The following square of order 4 is magic with magic sum S=34.
Now each number z is replaced by its complement
which results in a new magic square.
Under certain conditions the resulting magic square will be a reflected or rotated copy of the original magic square. These squares are called self-complement or self-similar magic squares.