How to find number of primes numbers $\pi(x)$ in $[30! + 2$ , $30! + 30]$,
where $n!$ is defined as:
$$n!= n(n-1)(n-2)\cdots3\times2\times1$$
Using Fermat's Theorem: $130=1\mod31$, (since $31 \in \mathbb{P}$). This implies the above is congruent to $17\mod31$.
This is correct, right?
Since $30!$ is divisible by all numbers from $2$ to $30$ obviously,
$30!+2$ is divisible by $2$
$30!+3$ is divisible by $3$
$\vdots$
$30!+30$ is divisible by $30$
No primes.