Magic squares of doubly even order: Difference between revisions
Content added Content deleted
Line 53: | Line 53: | ||
set maybePowerOfTwo to asPowerOfTwo(sqr) |
set maybePowerOfTwo to asPowerOfTwo(sqr) |
||
if maybePowerOfTwo is not missing value then |
if maybePowerOfTwo is not missing value then |
||
-- For powers of 2, the (append not) 'magic' series directly |
-- For integer powers of 2, the (append not) 'magic' series directly |
||
-- yields the truth table that we need |
-- yields the truth table that we need |
||
set truthSeries to magicSeries(maybePowerOfTwo) |
set truthSeries to magicSeries(maybePowerOfTwo) |
||
Line 337: | Line 337: | ||
| 8 || 58 || 59 || 5 || 61 || 3 || 2 || 64 |
| 8 || 58 || 59 || 5 || 61 || 3 || 2 || 64 |
||
|} |
|} |
||
=={{header|C++}}== |
=={{header|C++}}== |