Magic squares of doubly even order: Difference between revisions
Content added Content deleted
m (→JS ES6: (Adjusted the point at which the truth series starts – simplifies the indexing expressions)) |
m (→JS ES6: (Restored the testing of three orders – 4, 8, 12)) |
||
Line 539: | Line 539: | ||
//return doubleEvenMagicSquare(8) |
//return doubleEvenMagicSquare(8) |
||
return [8] |
return [4, 8, 12] |
||
.map(n => { |
.map(n => { |
||
const lines = doubleEvenMagicSquare(n); |
const lines = doubleEvenMagicSquare(n); |