nthperm(v::Vector) reverse of nthperm(a, k)