Problem 526 · Medium
Count the number of beautiful arrangements where each position i is divisible by the number placed there.
Open the interactive visualisation