Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Generate a magic cube
ResourceFunction["MagicCube"][n] generates a magic cube of rank n. |
Generate a magic cube of rank 3:
In[1]:= |
Out[1]= |
Visualize a magic cube of rank 9:
In[2]:= |
Out[2]= |
You can see the magic property using grayscale:
In[3]:= |
Out[4]= |
This work is licensed under a Creative Commons Attribution 4.0 International License