1175. Prime Arrangements
Description
**Input:** n = 5
**Output:** 12
**Explanation:** For example [1,2,5,4,3] is a valid permutation, but [5,2,3,4,1] is not because the prime number 5 is at index 1.**Input:** n = 100
**Output:** 682289015ac
Last updated