number knows divisibilty permutations