Prove that if ## n>2 ##, then there exists a prime ## p ## satisfying....

  • Thread starter Math100
  • Start date
  • Tags
    Prime
In summary: I'm going to stop here, since the last part is in the OP. Note that the argument for the first case shows that the theorem holds for prime numbers.
  • #1
Math100
756
202
Homework Statement
Prove that if ## n>2 ##, then there exists a prime ## p ## satisfying ## n<p<n! ##.
Relevant Equations
None.
Proof:

Assume to the contrary that ## n!-1 ## is not prime.
That is, ## n!-1 ## is composite.
Let ## p ## be a prime factor of ## n!-1 ## such that ## n<p ## for some ## n\in\mathbb{N} ##
where ## n>2 ##.
Since ## p\mid (n!-1) ##, it follows that ## p\nmid n! ##.
This means ## p\nleq n ##.
Note that ## p\leq n!-1 ##,
because ## p\mid (n!-1) ##.
Thus ## n<p<n! ##.
Therefore, if ## n>2 ##, then there exists a prime ## p ## satisfying ## n<p<n! ##.
 
Physics news on Phys.org
  • #2
Math100 said:
Homework Statement:: Prove that if ## n>2 ##, then there exists a prime ## p ## satisfying ## n<p<n! ##.
Relevant Equations:: None.

Proof:

Assume to the contrary that ## n!-1 ## is not prime.
That is, ## n!-1 ## is composite.
Let ## p ## be a prime factor of ## n!-1 ## such that ## n<p ## for some ## n\in\mathbb{N} ##
where ## n>2 ##.

It's not clear to me why such a prime ##p## exists. (referring to "
Let ## p ## be a prime factor of ## n!-1 ## such that ## n<p ## for some ## n\in\mathbb{N} ##
where ## n>2 ##." which won't quote for some reason).
Math100 said:
Since ## p\mid (n!-1) ##, it follows that ## p\nmid n! ##.
This means ## p\nleq n ##.
Here is where you've shown such a prime ##p## exists.
Math100 said:
Note that ## p\leq n!-1 ##,
because ## p\mid (n!-1) ##.
Thus ## n<p<n! ##.
Looks good to me. But what about the case where ##n! - 1## is prime?
Math100 said:
Therefore, if ## n>2 ##, then there exists a prime ## p ## satisfying ## n<p<n! ##.
Note: In your first sentence you say 'assume to the contrary' but never reach a contradiction. Consider constructing the proof as:

Proof: Let ##n > 2## be an integer. We consider two cases:

Case 1: ##n! - 1## is composite. [insert your work]

Case 2: ##n! - 1## is prime. [more work to do] edit: I'm a dope, but it's still work mentioning (imo) why this case is 'obvious'.
 
Last edited:
  • Like
Likes Math100, benorin and PeroK
  • #3
Math100 said:
Homework Statement:: Prove that if ## n>2 ##, then there exists a prime ## p ## satisfying ## n<p<n! ##.
Relevant Equations:: None.

Proof:

Assume to the contrary that ## n!-1 ## is not prime.
That is, ## n!-1 ## is composite.
Let ## p ## be a prime factor of ## n!-1 ## such that ## n<p ## for some ## n\in\mathbb{N} ##
where ## n>2 ##.
Since ## p\mid (n!-1) ##, it follows that ## p\nmid n! ##.
This means ## p\nleq n ##.
Note that ## p\leq n!-1 ##,
because ## p\mid (n!-1) ##.
Thus ## n<p<n! ##.
Therefore, if ## n>2 ##, then there exists a prime ## p ## satisfying ## n<p<n! ##.
I'm sorry to say that none of this makes any sense to me.
 
  • Like
Likes benorin
  • #4
Math100 said:
Prove that if ## n>2 ##, then there exists a prime ## p ## satisfying ## n<p<n! ##.
Proof:
Assume to the contrary that ## n!-1 ## is not prime.
Starting at the beginning of what @PeroK said made no sense, your assumption is not the negation of the original premise. The original premise says that the prime p must be somewhere between n and n!, not just n! - 1.
 
  • Like
Likes nuuskur
  • #5
This can be proved via induction. Bertrand's postulate gives much better bounds, so could be used to indirectly prove the statement in the OP.

Either way, your supposition is not to the contrary. The claim is
[tex]
\forall n>2,\quad \exists p\in\mathbb P,\quad n<p \quad\mbox{and}\quad p<n!
[/tex]
When negated, it becomes
[tex]
\exists n>2,\quad \forall p\in\mathbb P,\quad p< n! \Rightarrow p\leqslant n
[/tex]
and it's not obvious at all, why the negation should be false.

I teach my students to get comfortable with playing around with propositions, so they would understand what it means (among other things) to consider "the contrary" to a given statement. I extend the same recommendation to you, @Math100 . Learn or revise propositional calculus.

P. Suppes "Introduction to logic" is an excellent source for that. Available online for free, among the first results in a google search.
 
Last edited:
  • Like
Likes DrClaude and benorin
  • #6
Let ## n>2 ## be a natural number.
Then we consider two cases.
Case #1: Suppose ## n!-1 ## is prime.
Then we have ## p=n!-1 ## for some ## p\in\mathbb{P} ##.
Thus ## n<p<n! ## implies ## n<n!-1<n! ## for ## n>2 ##.
Case #2: Suppose ## n!-1 ## is not prime.
That is, ## n!-1 ## is composite.
Let ## p ## be a prime factor of ## n!-1 ## such that ## n<p ## for some
## n\in\mathbb{N} ## where ## n>2 ##.
Then we have ## p\mid (n!-1) ##.
Note that ## p\leq n ## implies ## p\mid n! ##.
Since ## p\mid n! ## and ## p\mid (n!-1) ##,
it follows that ## p\mid 1 ##.
Thus ## p=\pm 1 ##.
This is a contradiction because ## p ## must be a prime number
where ## p\neq \pm 1 ##.
Therefore, if ## n>2 ##, then there exists a prime ## p ## satisfying ## n<p<n! ##.
 
  • Like
Likes nuuskur
  • #7
Math100 said:
Let ## n>2 ## be a natural number.
Then we consider two cases.
Case #1: Suppose ## n!-1 ## is prime.
Then we have ## p=n!-1 ## for some ## p\in\mathbb{P} ##.
Thus ## n<p<n! ## implies ## n<n!-1<n! ## for ## n>2 ##.
ok so far. I'd rewrite the last two sentences as "Choose ##p = n! - 1##. Then ##n < p < n!## since ##n > 2##.
Math100 said:
Case #2: Suppose ## n!-1 ## is not prime.
That is, ## n!-1 ## is composite.
Let ## p ## be a prime factor of ## n!-1 ## such that ## n<p ## for some
## n\in\mathbb{N} ## where ## n>2 ##.
Since the argument below shows such a prime ##n < p## exists, you shouldn't assume its existence here. The above sentence should be "Let ##p## be a prime factor of ##n! - 1##". We don't need to redefine ##n## because we did so at the beginning.
Math100 said:
Then we have ## p\mid (n!-1) ##.
Right; so ##p \le n! - 1 < n!##.
Math100 said:
Note that ## p\leq n ## implies ## p\mid n! ##.
Since ## p\mid n! ## and ## p\mid (n!-1) ##,
it follows that ## p\mid 1 ##.
Thus ## p=\pm 1 ##.
This is a contradiction because ## p ## must be a prime number
where ## p\neq \pm 1 ##.
Therefore ##p > n##.
Math100 said:
Therefore, if ## n>2 ##, then there exists a prime ## p ## satisfying ## n<p<n! ##.
 
  • Like
Likes Math100
  • #8
Math100 said:
Let ## n>2 ## be a natural number.
Then we consider two cases.
Case #1: Suppose ## n!-1 ## is prime.
Then we have ## p=n!-1 ## for some ## p\in\mathbb{P} ##.
Thus ## n<p<n! ## implies ## n<n!-1<n! ## for ## n>2 ##.
Case #2: Suppose ## n!-1 ## is not prime.
That is, ## n!-1 ## is composite.
Let ## p ## be a prime factor of ## n!-1 ## such that ## n<p ## for some
## n\in\mathbb{N} ## where ## n>2 ##.
Then we have ## p\mid (n!-1) ##.
Note that ## p\leq n ## implies ## p\mid n! ##.
Since ## p\mid n! ## and ## p\mid (n!-1) ##,
it follows that ## p\mid 1 ##.
Thus ## p=\pm 1 ##.
This is a contradiction because ## p ## must be a prime number
where ## p\neq \pm 1 ##.
Therefore, if ## n>2 ##, then there exists a prime ## p ## satisfying ## n<p<n! ##.
It's not necessary to "beat around the bush" so to speak.

Case 1. If ##n!-1## is prime, we're done. This is clear, the reader is eager to read about Case 2, already.

Case 2. Assume ##n!-1## is composite and let ##p## be a prime factor. If ##p\leqslant n##, then what you say follows. Thus, ##n<p<n!-1## and we're done.

What you write is mathematically correct, though. Some stylistic observations.
Let ## p ## be a prime factor of ## n!-1 ## such that ## n<p ## for some
## n\in\mathbb{N} ## where ## n>2 ##.
Then we have ## p\mid (n!-1) ##.
Note that ## p\leq n ## implies ## p\mid n! ##.
Since ## p\mid n! ## and ## p\mid (n!-1) ##,
it follows that ## p\mid 1 ##.
What follows from "Note that.." is what would happen if some prime factor of ##n!-1## was smaller than ##n##. So every prime factor must be between ##n## and ##n!-1##. Goes back to what I told you about quantifying your statements. It helps the reader and it helps you.

The same thing could be expressed more clearly as follows.
Suppose ##n!-1## is composite and let ##p## be a prime factor. Then necessarily ##n<p##, otherwise ##p\mid n!##, whence ##p\mid 1##, which is impossible.
 
  • #9
Here's how I would do it:

Let ##n > 2##. We will show that there exists a prime ##p## such that ##n < p < n!##.

Note that every prime ##\le n## divides ##n!## and a prime cannot divide two consecutive integers. Therefore, any prime factor of ##n! - 1## must be greater than ##n##. And, if ##n! - 1 > 1## then it must have a prime factor, ##p##, which must then satisfy ##n < p < n!##.

Note that ##n! - 1> 1## is satisfied by all ##n > 2##.
 
  • Like
Likes Math100

1. What is the statement being proven in this question?

The statement being proven is that if ## n>2 ##, then there exists a prime ## p ## satisfying ## n

2. Why is it important to prove this statement?

This statement is important because it helps establish the existence of a prime number that is less than a given number n, which can be useful in many mathematical proofs and applications.

3. What is the significance of the condition "n>2" in the statement?

The condition "n>2" is significant because it ensures that the number n is greater than 2, which is the first prime number. This condition is necessary for the statement to be true, as there are no prime numbers less than 2.

4. How can this statement be proven?

This statement can be proven using the Fundamental Theorem of Arithmetic, which states that every integer greater than 1 can be written as a unique product of prime numbers. By applying this theorem, we can show that there must exist a prime number p that is less than n.

5. Are there any exceptions to this statement?

No, there are no exceptions to this statement. It holds true for all values of n greater than 2. This has been proven through various mathematical proofs and is a fundamental concept in number theory.

Similar threads

  • Precalculus Mathematics Homework Help
Replies
9
Views
1K
  • Precalculus Mathematics Homework Help
Replies
4
Views
1K
  • Precalculus Mathematics Homework Help
Replies
3
Views
947
  • Precalculus Mathematics Homework Help
Replies
4
Views
1K
  • Precalculus Mathematics Homework Help
Replies
7
Views
1K
  • Precalculus Mathematics Homework Help
Replies
12
Views
1K
  • Precalculus Mathematics Homework Help
Replies
5
Views
2K
  • Precalculus Mathematics Homework Help
Replies
10
Views
812
  • Precalculus Mathematics Homework Help
Replies
15
Views
976
  • Precalculus Mathematics Homework Help
Replies
7
Views
825
Back
Top