There Are Magic Hexagons of Every Order

(gukov.dev)

33 points | by gukoff 3 hours ago

2 comments

  • amelius 24 minutes ago
    Why is not every 45 degree line considered for the rectangular grids?

    (In the hexagons, all lines are considered even if they don't have the maximum length)

    (PS: make sure you hover your mouse over the diagrams)

    • gukoff 2 minutes ago
      Interesting observation. That's simply part of the usual definition of a magic square, and it does indeed feel arbitrary once you compare it with the hexagon case, which is very symmetrical. I first learned about magic squares from math books as a kid, about 25 years ago, and just accepted those rules as given.

      Upon a quick research, there are many variations, and the closest to what you're describing is the "pandiagonal" magic square, where additional diagonals are considered (except they wrap around the edges of the square in a slightly funny way, so that every diagonal still contains exactly N numbers): https://en.wikipedia.org/wiki/Pandiagonal_magic_square

  • reckless 55 minutes ago
    hexagons are the bestagons
    • sublinear 48 minutes ago
      CGP Grey is never coming back