A trimagic cube is a magic cube that remains magic when all its numbers are both squared and cubed.
Only two trimagic cubes are known. The first trimagic cube was found by C. Boyer on February 1, 2003 and is of order 64. This cube and its square are perfect, while its cube is only semiperfect. Two days later, Boyer discovered a trimagic cube of order 256. This cube, its square, and its cube are all perfect (Heinz, Boyer).