cyclic_permutations_and_prime_numbers