17

How to prove that there exists a prime number between $n$ and $ n!$, for all $ n> 2$?


(Bertrand's postulate gives a much better bound, but this question is about obtaining a self-contained proof.)

  • 2
    Since this is a site that encourages learning, you will get much more help if you show us what you have already done. Could you edit your question with your thoughts and ideas? – 5xum Dec 29 '14 at 07:31
  • 1
    For $n\geq 3$, take $p$ as a prime divisor of $n!-1$. – Kelenner Dec 29 '14 at 08:02

3 Answers3

24

Given $n>2$. So for every integer $x$ such that $1<x<(n+1),$ we have $x|n!$ and $x\not|(n!-1).$

$\therefore$ either $(n!-1)$ is a prime, or $\exists$ a prime $p\ge (n+1) $ such that $p|(n!-1)$.

So in any case, $\exists$ a prime $p$ such that $(n+1)\le p\le (n!-1)$.

Praveen
  • 1,613
  • And what if $n!-1$ is a prime. This is possible for $n=3, 4$. Just a few small examples. Could you please explain? – Paul Feb 06 '21 at 16:24
  • @Paul For any $n>2$ if $n!-1$ is a prime, then you can stop the search for existence of a prime between $n$ and $n!$. Try writing the usual ordering of the numbers being discussed here. – Praveen Feb 06 '21 at 16:51
7

For $n=2$ take $p=2$. For $n\geq 3$, take $p$ as a prime divisor of $n!-1$ (hence $p<n!$). Then $p>n$, if not, $p$ divide $n!$, hence divide $n!-(n!-1)=1$.

Kelenner
  • 18,734
  • 26
  • 36
5

Base case: $3<5<3!$

Induction Hypothesis: Suppose that $\exists p$ such that $p$ is prime and $(n-1)<p<(n-1)!$

Induction Step: We must now show that $\exists k$ such that $k$ is prime and $n<k<n!$.

So either $n=p$ or $n<p<(n-1)!<n!$ If the case is the latter one, we are done. So, suppose that $n=p$. Now, we consider $Q=\prod p_i$ where $p_i\leq p$ and $p_i$ is prime. Well, we actually consider $Q+1$. Notice that $p<Q+1<n!$ Furthermore, notice that no primes less than or equal to $p$ divide $Q+1$ (because of the left over 1). Hence, either $Q+1$ is prime or composite. If $Q+1$ is prime, we are done. If $Q+1$ is composite (and since no prime less than or equal to $p$ divides $Q+1$) there must exist some $q<t<Q+1<n!$ such that $t|(Q+1)$. Thus, we are finished by setting $k=Q+1$ or $k=t$.

Kyle Gannon
  • 6,363