repeated permutation by llhuii

a=$1{for(b=$2;a^b>k=i++;print)for(j=b+1;--j;k/=a)$j=int(k%a+1)}

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page