A375416 Number of order n magic triangles composed of the numbers from 1 to n^2 in which the sum of each 2 X 2 subtriangle is the same, counted up to rotations and reflections.
1, 4, 144, 38336, 539904, 87249024
Offset: 1
Examples
a(1)=1 because there is only the trivial case without any subtriangle. a(2)=4 because we can choose only the number in the central triangle. a(3)=18, which is same for A342467(4)*8. Trotter's order 4 magic triangle can be transformed to this order-3 magic triangle disregarding corner swap. For n = 3, numbers 1..9 are placed inside the triangles shown: o / \ o-- o / \ / \ o---o---o / \ / \ / \ o---o---o---o An example with magic sum=17: 9 5 1 2 6 4 7 3 8 This corresponds to the magic perimeter triangle (A342467): 1 9 5 2 7 4 6 8 3
Links
- Donghwi Park, Source code for a(4).
- Donghwi Park, Source code for a(5).
Comments