<p>Return the number of permutations of 1 to <code>n</code> so that prime numbers are at prime indices (1-indexed.)</p>
<p><em>(Recall that an integer is prime if and only if it is greater than 1, and cannot be written as a product of two positive integers both smaller than it.)</em></p>
<p>Since the answer may be large, return the answer <strong>modulo <code>10^9 + 7</code></strong>.</p>