Is it possible for a prime number $p$ to divide $i!$ or $(p-i)!$, where $i$ is an integer and $0<i<p$?
I think it's not, after experimenting with some values, however I'm not entirely certain.
Is it possible for a prime number $p$ to divide $i!$ or $(p-i)!$, where $i$ is an integer and $0<i<p$?
I think it's not, after experimenting with some values, however I'm not entirely certain.
Suppose $i<p$. Any prime factor $q$ of $i!$ must be a prime factor of $j$ for some $1 \le j \le i$; this follows from the fundamental theorem of arithmetic, which says that numbers have essentially unique prime factorisations. But then $q \le j \le i < p$, so $q \ne p$. In particular, $p$ is not a prime factor of $i!$.
Likewise, if $i>0$, then $p-i<p$, and so the same is true of $(p-i)!$—just replace $i$ by $p-i$ in the above argument.
If $p\mid ab$ then $p\mid a$ or $p\mid b$.
In comments, you say you've seen how $p$ is not a divisor of $i!$ if $0<i<p$.
But if $0<i<p$ then $0<p-i<p$, so it is also not a divisor of $(p-i)!$ by the same reasoning.