Permutations where prime indices contain prime numbers
Filed under Sabre · Also reported at OPPO
The question
Given an integer N, count the number of permutations of numbers from 1 to N such that in 1-based indexing, prime indices only contain prime numbers.
No write-up yet. Related questions below have one.
Related Sabre questions
Collected from public candidate posts and coding forums. Updated Nov 2026.