January30 permutations with restrictions