powered by
magic.constant(n,d=2,start=1)
d=2
n
If n is a square or hypercube, return the magic constant for a normal array (starting at 1) of the same dimensions as n.
magic
magic.constant(4)
Run the code above in your browser using DataLab