This site is supported by donations to The OEIS Foundation.

# Magic squares

From OeisWiki

**magic square**is a square arrangement of numbers in which each row, column and diagonal adds up to the same value (called the

*magic constant*). Usually, the magic square has the numbers

1 |

n 2 |

*normal*). One of the best known magic squares has

n = 3 |

15 |

9 | 1 | 5 |

3 | 4 | 8 |

6 | 7 | 2 |

## Magic constant

The**magic constant**of an

n × n |

1 |

n 2 |

- (A006003)

Tk |

*k*-th triangular number.

## External links

- Weisstein, Eric W., Franklin Magic Square, from MathWorld—A Wolfram Web Resource. [http://mathworld.wolfram.com/FranklinMagicSquare.html]