read SERGI: k:=4: r:=2: N:=40: print(AllSeqs(k,r,N)): print(`This took`, time(), `seconds `): quit: