Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

panmagic.4

Panmagic squares of order 4


Description

Creates all fundamentally different panmagic squares of order 4.

Usage

panmagic.4(vals = 2^(0:3))

Arguments

vals

a length four vector giving the values which are combined in each of the 2^4 possible ways. Thus vals=2^sample(0:3) always gives a normal square (0-15 in binary).

Author(s)

Robin K. S. Hankin

References

See Also

Examples

panmagic.4()
panmagic.4(2^c(1,3,2,0))
panmagic.4(10^(0:3))

magic

Create and Investigate Magic Squares

v1.5-9
GPL-2
Authors
Robin K. S. Hankin
Initial release
2018-09-14

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.