magic.composite {magic} | R Documentation |
Gives a magic square that is a product of two magic squares.
magic.composite(a, b)
a |
First magic square; if a is an integer, use magic(a) . |
b |
as above |
Produces a magic square of order order(a)*order(b).
Robin K. S. Hankin
William H. Benson and Oswald Jacoby. New recreations with magic squares, Dover 1976.
magic.composite(3,4) magic.composite(4,3)