magic (version 1.5-9)

magic.4n: Magic squares of order 4n

Description

Produces an associative magic square of order \(4n\) using the delta-x method.

Usage

magic.4n(m)

Arguments

m

Order \(n\) of the square is given by \(n=4m\)

See Also

magic

Examples

Run this code
# NOT RUN {
magic.4n(4)
is.magic(magic.4n(5))
# }

Run the code above in your browser using DataCamp Workspace