A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

3 of 12 deleted 178 characters in body

# Hexagony, 21892 58 bytes

)}?}.=(..]}}={.=.&~./=}..=.=&{.<......*|>(<..=%....}!\[.&@


The first ever non-trivial (i.e. non-linear) Hexagony program! It is based on the same squared-factorial approach as Sp3000's Labyrinth answer. The solution is not particularly well golfed, because I didn't know how much space it would take up - so I just started on a side length of 10. I'll now see how small of a hexagon I can fit it in (currently 5; 4 might be possible) and will then add an explanation.

In the meantime, here is the unfolded code so you have something more interesting to look at. First, Hexagony pads the code to the next centred hexagonal number with ., which is 61. It then rearranges the code into a regular hexagon of the corresponding size:

     ) } ? } .
= ( . . ] }
} = { . = . &
~ . / = } . . =
. = & { . < . . .
. . . * | > ( <
. . = % . . .
. } ! \ [ .
& @ . . .


This is getting better... and significantly more complicated...