Status: IN
The answer to Prime Arrangements equals `factorial(prime_count) * factorial(non_prime_count) mod 10^9+7`, because primes must occupy prime indices and non-primes must occupy non-prime indices — two independent permutation groups.
Source: entries/2026/06/06/prime-arrangements-solution.md
JSON