Count permutations of 1..n where each position i satisfies divisibility with the number placed there.
Constraints
Example
>>> count_arrangements(1) 1 >>> count_arrangements(2) 2 >>> count_arrangements(3) 3
Recent Submissions
No submissions yet — hit Run Tests to try!
Hints