help for nthperm(p)