Last data update: 2014.03.03
|
R: Magic squares of order 4n+2
magic.4np2 | R Documentation |
Magic squares of order 4n+2
Description
Produces a magic square of order 4n+2 using
Conway's “LUX” method
Usage
magic.4np2(m)
Arguments
m |
returns a magic square of order n=4m+2
for m>=1, using Conway's
“LUX” construction
|
Note
I am not entirely happy with the method used: it's too complicated
Author(s)
Robin K. S. Hankin
References
http://mathworld.wolfram.com/MagicSquare.html
See Also
magic
Examples
magic.4np2(1)
is.magic(magic.4np2(3))
Results
|