Learn R Programming

magic (version 1.3-20)

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
magic.4n(4)
is.magic(magic.4n(5))

Run the code above in your browser using DataLab