Magic squares of doubly even order: Difference between revisions

Line 425:
// truthSeries :: Int -> [Int]
const truthSeries = n => {
if (n <= 10) return [true, false];
const xs = truthSeries(n - 1);
return xs.concat(xs.map(x => !x));
9,659

edits