notmagic.2n | R Documentation |
Returns a square of order n=2m that has been claimed to be magic, but isn't.
notmagic.2n(m)
m |
Order of square is n=2m |
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
Robin K. S. Hankin
“Magic Squares and Cubes”, Andrews, (book)
notmagic.2n(4) is.magic(notmagic.2n(4)) is.semimagic(notmagic.2n(4))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.