notmagic.2n: An unmagic square

Description Usage Arguments Note Author(s) References Examples

Description

Returns a square of order n=2m that has been claimed to be magic, but isn't.

Usage

1

Arguments

m

Order of square is n=2m

Note

This took me a whole evening to code up. And I was quite pleased with the final vectorized form: it matches Andrews's (8 by 8) example square exactly. What a crock

Author(s)

Robin K. S. Hankin

References

“Magic Squares and Cubes”, Andrews, (book)

Examples

1
2
3

magic documentation built on May 2, 2019, 12:21 p.m.