Multimagic cube
In mathematics, a P-multimagic cube is a magic cube that remains magic even if all its numbers are replaced by their kth powers for 1 ≤ k ≤ P. Template:Nowrap cubes are called bimagic, Template:Nowrap cubes are called trimagic, and Template:Nowrap cubes tetramagic.<ref name=Multi>{{#invoke:Template wrapper|{{#if:|list|wrap}}|_template=cite web |_exclude=urlname, _debug, id |url = https://mathworld.wolfram.com/{{#if:MultimagicCube%7CMultimagicCube.html}} |title = Template:PAGENAMEBASE |author = Weisstein, Eric W. |website = MathWorld |access-date = |ref = Template:SfnRef }}</ref> A Template:Nowrap cube is said to be semi-perfect if the kth power cubes are perfect for 1 ≤ k < P, and the Pth power cube is semiperfect. If all P of the power cubes are perfect, the Template:Nowrap cube is said to be perfect.
The first known example of a bimagic cube was given by John Hendricks in 2000; it is a semiperfect cube of order 25 and magic constant 195325. In 2003, C. Bower discovered two semi-perfect bimagic cubes of order 16, and a perfect bimagic cube of order 32.<ref name=Bi>{{#invoke:Template wrapper|{{#if:|list|wrap}}|_template=cite web |_exclude=urlname, _debug, id |url = https://mathworld.wolfram.com/{{#if:BimagicCube%7CBimagicCube.html}} |title = Bimagic Cube |author = Weisstein, Eric W. |website = MathWorld |access-date = |ref = Template:SfnRef }}</ref>
MathWorld reports that only two trimagic cubes are known, discovered by C. Bower in 2003; a semiperfect cube of order 64 and a perfect cube of order 256.<ref name=Tri>{{#invoke:Template wrapper|{{#if:|list|wrap}}|_template=cite web |_exclude=urlname, _debug, id |url = https://mathworld.wolfram.com/{{#if:TriMagic%7CTriMagic.html}} |title = Trimagic Cube |author = Weisstein, Eric W. |website = MathWorld |access-date = |ref = Template:SfnRef }}</ref> It also reports that he discovered the only two known tetramagic cubes, a semiperfect cube of order 1024, and perfect cube of order 8192.<ref name=Tetra>{{#invoke:Template wrapper|{{#if:|list|wrap}}|_template=cite web |_exclude=urlname, _debug, id |url = https://mathworld.wolfram.com/{{#if:TetramagicCube%7CTetramagicCube.html}} |title = Tetramagic Cube |author = Weisstein, Eric W. |website = MathWorld |access-date = |ref = Template:SfnRef }}</ref>