We are counting intervals of prime width that can be covered by a set of primes. (By covered we mean every element is a multiple of one of primes.)
Formally, Let $p_1, \dots p_n$ be the first $n$ prime numbers and $A=(m_1, \dots, m_{p_{n+1}-1})$ be any arrangement of them, including repetition. [Note $|A| = p_{n+1}-1$]
Is there a solution to the system
\begin{align*} x &\equiv -1 \pmod {m_1 }\\ x &\equiv -2 \pmod {m_2}\\ \vdots \\ x &\equiv -(p_{n+1}-1) \pmod {m_{p_{n+1}-1}}\\ \end{align*}
For example, if we consider the set of primes $(2,3,5,7,11)$ then there are four solutions to the system. One is given by \begin{align*} x &\equiv -1 \pmod {5 }\\ x &\equiv -2 \pmod {2}\\ x &\equiv -3 \pmod {3}\\ x &\equiv -4 \pmod {2}\\ x &\equiv -5 \pmod {7}\\ x &\equiv -6 \pmod {2}\\ x &\equiv -7 \pmod {11}\\ x &\equiv -8 \pmod {2}\\ x &\equiv -9 \pmod {3}\\ x &\equiv -10 \pmod {2}\\ x &\equiv -11 \pmod {5}\\ x &\equiv -12 \pmod {2}\\ \end{align*}
This has solution $x = 168$. Also, if we swap the 7 and 11 above we get $x = 1608$. Each solution corresponds to a different arrangement of the moduli that 'cover' the interval. Once covered the Chinees Remainder Theorem guarantees a solution.
Anyone know of a way to count the number of solutions in the general case?