Divisibility Compliant Permutations - Coding problem | OneNoughtOne