Magic squares of doubly even order: Difference between revisions
Magic squares of doubly even order (view source)
Revision as of 16:02, 10 December 2016
, 7 years ago→JS ES6
(→JS ES6) |
|||
Line 425:
// truthSeries :: Int -> [Int]
const truthSeries = n => {
if (n <=
const xs = truthSeries(n - 1);
return xs.concat(xs.map(x => !x));
|