import intsets from math import fac block: # test all permutations of length from 0 to 9 for l in 0..9: # prepare data var xs = newSeq[int](l) for i in 0..