Roman Suzi wrote: > Could you try my comb version? I am sure it's faster! > (I used the same algorithms in it. Only implementation differs) Nope. For a sequence of 5 elements gcomb() is slighly faster. For 15 elements gcomb() is 27% faster than comb(). For 18 elements the difference is 31%. Neil