For n>3, show that the integers n, n+2, n+4 cannot all be prime

In summary: Case #1: Suppose ## n=3q+1 ## for some ## q\in\mathbb{N} ##.That is, ## n\equiv 1 \mod 3 ##.Then ## n+2\equiv 0 \mod 3 ## and ## n+4\equiv 2 \mod 3 ##.Thus, the integer ## n+2 ## cannot be prime.Case #2: Suppose ## n=3q+2 ## for some ## q\in\mathbb{N} ##.That is, ## n\equiv 2 \mod 3 ##.Then ## n+2\equiv 1 \mod 3 ## and ## n+4
  • #1
Math100
756
201
Homework Statement
For ## n>3 ##, show that the integers ## n, n+2, n+4 ## cannot all be prime.
Relevant Equations
None.
Proof:

Let ## n>3 ## be an integer.
Applying the Division Algorithm produces:
## n=3q+r ## for ## 0\leq r< 3 ##,
where there exist unique integers ## q ## and ## r ##.
Suppose ## n ## is prime.
Then ## n=3q+1 ## or ## n=3q+2 ##, because ## n\neq 3q ##.
Now we consider two cases.
Case #1: Suppose ## n=3q+1 ## for some ## q\in\mathbb{N} ##.
That is, ## n\equiv 1 \mod 3 ##.
Then ## n+2\equiv 0 \mod 3 ## and ## n+4\equiv 2 \mod 3 ##.
Thus, the integer ## n+2 ## cannot be prime.
Case #2: Suppose ## n=3q+2 ## for some ## q\in\mathbb{N} ##.
That is, ## n\equiv 2 \mod 3 ##.
Then ## n+2\equiv 1 \mod 3 ## and ## n+4\equiv 0 \mod 3 ##.
Thus, the integer ## n+4 ## cannot be prime.
Therefore, for ## n>3 ##, the integers ## n, n+2, n+4 ## cannot all be prime.
 
Last edited:
  • Like
Likes Delta2 and WWGD
Physics news on Phys.org
  • #2
Math100 said:
Homework Statement:: For ## n>3 ##, show that the integers ## n, n+2, n+4 ## cannot all be prime.
Relevant Equations:: None.

Proof:

Let ## n>3 ## be an integer.
Applying the Division Algorithm produces:
## n=3q+r ## for ## 0\leq r< 3 ##,
where there exist unique integers ## q ## and ## r ##.
Suppose ## n ## is prime.
Then ## n=3q+1 ## or ## n=3q+2 ##, because ## n\neq 3q ##.
Now we consider two cases.
Case #1: Suppose ## n=3q+1 ## for some ## q\in\mathbb{N} ##.
That is, ## n\equiv 1 \mod 3 ##.
Then ## n+2\equiv 0 \mod 3 ## and ## n+4\equiv 2 \mod 3 ##.
Thus, the integer ## n+2 ## cannot be prime.
Case #2: Suppose ## n=3q+2 ## for some ## q\in\mathbb{N} ##.
That is, ## n\equiv 2 \mod 3 ##.
Then ## n+2\equiv 1 \mod 3 ## and ## n+4\equiv 0 \mod 3 ##.
Thus, the integer ## n+4 ## cannot be prime.
Therefore, for ## n>3 ##, the integers ## n, n+2, n+4 ## cannot all be prime.
Did you use the given that ##n > 3## anywhere? If not, that hints at a bit of missing reasoning.
 
  • Like
Likes PeroK
  • #3
Math100 said:
Homework Statement:: For ## n>3 ##, show that the integers ## n, n+2, n+4 ## cannot all be prime.
In one sentence explain why that statement is true.
 
  • Like
Likes nuuskur and fishturtle1
  • #4
This was good advice in post #3. What was your plan?

For e.g. I distinguish between odd and even numbers ##n## and used the fact that ##2## and ##3## are coprime. You used it, too, but hidden in your argument. However, you did not use that ##n## is prime, so why mention it? And where did you use ##n>3##?
 
  • #5
fresh_42 said:
This was good advice in post #3. What was your plan?

For e.g. I distinguish between odd and even numbers ##n## and used the fact that ##2## and ##3## are coprime. You used it, too, but hidden in your argument. However, you did not use that ##n## is prime, so why mention it? And where did you use ##n>3##?
How would you distinguish between odd and even numbers ## n ## and used the fact that ## 2 ## and ## 3 ## are coprime? By expressing ## n=2k ## for even and ## n=2k+1 ## for odd?
 
  • #6
jbriggs444 said:
Did you use the given that ##n > 3## anywhere? If not, that hints at a bit of missing reasoning.
By mentioning ## q\in\mathbb{N} ##.
 
  • #7
Math100 said:
By mentioning ## q\in\mathbb{N} ##.
Not good enough. ##1 \in \mathbb{N}##
 
  • #8
Math100 said:
How would you distinguish between odd and even numbers ## n ## and used the fact that ## 2 ## and ## 3 ## are coprime? By expressing ## n=2k ## for even and ## n=2k+1 ## for odd?
Yes. The case ##n=2k## is trivial since all three numbers are even in that case. Remains the case ##n=2k+1##. Then the numbers in question are ##2k+1\, , \,2k+3\, , \,2k+5.##

How can you see (without considering each case!) that at least one of them is divisible by three?
 
  • #9
fresh_42 said:
Yes. The case ##n=2k## is trivial since all three numbers are even in that case. Remains the case ##n=2k+1##. Then the numbers in question are ##2k+1\, , \,2k+3\, , \,2k+5.##

How can you see (without considering each case!) that at least one of them is divisible by three?
## 3\mid 2k+1 ##
 
  • #10
Math100 said:
## 3\mid 2k+1 ##
No.

We can only conclude that three divides one of these numbers. We cannot know which one. What are the remainders modulo three?
 
  • #11
fresh_42 said:
No.

We can only conclude that three divides one of these numbers. We cannot know which one. What are the remainders modulo three?
## n\equiv 1 \mod 3 ## and ## n\equiv 2 \mod 3 ##.
 
  • #12
Math100 said:
## n\equiv 1 \mod 3 ## and ## n\equiv 2 \mod 3 ##.
How that? We have the three numbers ##2k+1\, , \,2k+3\, , \,2k+5.## Assume that ##2k\equiv r \mod 3.## Then we have ##2k+1\equiv r+1\mod 3\, , \,2k+3\equiv r\mod 3\, , \,2k+5\equiv r+2\mod 3.## In the set ##\{r+1\, , \,r\, , \,r+2\}## is always exactly one number that is divisible by three, regardless what ##r## actually is.
 
  • #13
Suppose ## n>3 ## is an integer.
Now we consider two cases.
Case #1: Let ## n ## be an even integer.
That is, ## n=2k ## for ## k>1 ##.
Then we have ## n+2=2k+2 ## and ## n+4=2k+4 ##.
Note that all integers ## n, n+2, n+4 ## are even.
Thus, all integers ## n, n+2, n+4 ## are composites.
Case #2: Let ## n ## be an odd integer.
That is, ## n=2k+1 ## for ## k>1 ##.
Then we have ## n+2=2k+3 ## and ## n+4=2k+5 ##.
Suppose that ## 2k\equiv r \mod 3 ##.
Then we have ## 2k+1\equiv r+1 \mod 3 ##, ## 2k+3\equiv r \mod 3 ## and
## 2k+5\equiv r+2 \mod 3 ##.
Thus, there exists exactly one integer that is divisible by ## 3 ##.
Therefore, for ## n>3 ##, the integers ## n, n+2, n+4 ## cannot all be prime.
 
  • #14
@fresh_42 is suggesting that you are making yourself work harder than you need to. There is no need to consider extra cases.

Note that you have also not used the assumption that ##n > 3## which means that you have overlooked two crucial loopholes in the "proof".
 
  • #15
Just note there is one multiple of 3 that not prime. Which one? Maybe you meant to say this but we didn't notice.
 
  • #16
Math100 said:
Suppose ## n>3 ## is an integer.
Now we consider two cases.
Case #1: Let ## n ## be an even integer.
Then ##n## is not prime. There is no need to go further.
Math100 said:
That is, ## n=2k ## for ## k>1 ##.
Then we have ## n+2=2k+2 ## and ## n+4=2k+4 ##.
Note that all integers ## n, n+2, n+4 ## are even.
Thus, all integers ## n, n+2, n+4 ## are composites.
The above is unnecessary.
Math100 said:
Case #2: Let ## n ## be an odd integer.
That is, ## n=2k+1 ## for ## k>1 ##.
That really should be ##k > 2##, as ##n > 3##.
Math100 said:
Then we have ## n+2=2k+3 ## and ## n+4=2k+5 ##.
Suppose that ## 2k\equiv r \mod 3 ##.
Then we have ## 2k+1\equiv r+1 \mod 3 ##, ## 2k+3\equiv r \mod 3 ## and
## 2k+5\equiv r+2 \mod 3 ##.
Thus, there exists exactly one integer that is divisible by ## 3 ##.
I can't see the relationship between your calculations and your conclusion. It looks somewhat random to me.
Math100 said:
Therefore, for ## n>3 ##, the integers ## n, n+2, n+4 ## cannot all be prime.
True, but where did you prove it?
 
  • #17
PeroK said:
Then ##n## is not prime. There is no need to go further.
Be careful. The fact that ##n## is even does not, by itself, preclude the possibility that ##n## is prime.
 
  • Like
Likes fresh_42
  • #18
jbriggs444 said:
Be careful. The fact that ##n## is even does not, by itself, preclude the possibility that ##n## is prime.
That's not the only condition on ##n## in the quoted text. There is also ##n > 3##.
 
  • #19
PeroK said:
That's not the only condition on ##n## in the quoted text. There is also ##n > 3##.
Or alternatively: If ##n=2## then ##n+2\neq 2## and even, hence not prime.

Nevertheless, @jbriggs444 was right:
jbriggs444 said:
The fact that ##n## is even does not, by itself,
 
  • #20
Why are we discussing odd and even cases?
  1. Exactly one of ## \{ n, n+1, n+2 \} ## must be divisible by ## 3 ##.
  2. ## n + 1 = 3k \implies n + 4 = 3(k+1) ## so exactly one of ## \{ n, n+4, n+2 \} ## must be divisible by ## 3 ##.
  3. The only prime that is divisible by ## 3 ## is ## 3 ## itself so for ## n > 3 ## at least one of ## \{ n, n+2, n+4 \} ## must be composite.
 
  • Like
Likes PeroK
  • #21
fresh_42 said:
Or alternatively: If ##n=2## then ##n+2\neq 2## and even, hence not prime.
It's stated in the problem that ##n >3##.
 
  • #22
PeroK said:
It's stated in the problem that ##n >3##.
Yes. Again, @jbriggs444 was right. It is not sufficient by itself. Why do you even debate?
 
  • #23
fresh_42 said:
Yes. Again, @jbriggs444 was right. It is not sufficient by itself. Why do you even debate?
Because I'm right.
 
  • #24
It is often difficult to decide how much to explicitly state and how much to leave out. If one explicitly states too much, it can be insulting to ones audience. If one leaves out too much, the audience may insult the speaker.

So I apologize to @PeroK for doubting the presence of the step not explicitly shown.
 
  • Like
Likes PeroK
  • #25
PeroK said:
Because I'm right.
I think you confuse right and stubborn.

The case of even ##n## requires one additional argument. Several are possible, but ##n\equiv 0 \mod 2## alone is not sufficient. The additional argument, ##n>3## or ##n=2 \Longrightarrow n+2## is not prime, or only one out of three even numbers can be prime may vary or even trivial, but it is necessary.

But what do I know? Seems being right is for some users more important than teaching right.
 
  • #26
fresh_42 said:
I think you confuse right and stubborn.

The case of even ##n## requires one additional argument. Several are possible, but ##n\equiv 0 \mod 2## alone is not sufficient. The additional argument, ##n>3## or ##n=2 \Longrightarrow n+2## is not prime, or only one out of three even numbers can be prime may vary or even trivial, but it is necessary.

But what do I know? Seems being right is for some users more important than teaching right.
So is anything incorrect in my revised proof of post #13?
 
  • #27
Math100 said:
So is anything incorrect in my revised proof of post #13?
Yes: the statement "Thus, there exists exactly one integer that is divisible by ## 3 ##" is incorrect (there are an infinite number of integers that are divisible by 3). If you mean
pbuk said:
  • Exactly one of ## \{ n, n+1, n+2 \} ## must be divisible by ## 3 ##.
then that is what you should say.

It would also help if you didn't repeat that ## n ## is an integer six times, or use phrases like "Let ## n ## be an (even/odd/prime/composite) integer" instead of "Let ## n ## be (even/odd/prime/composite)".
 
  • Like
Likes PeroK and Math100
  • #28
Math100 said:
So is anything incorrect in my revised proof of post #13?
No, not at all. You simply should concentrate more on a strategy, a plan. The plan here is to find divisors ##2## or ##3##. And the obstacle is, why do we need ##n>3##? I would only add some comments.

Here is my view on it:
Math100 said:
Suppose ## n>3 ## is an integer.
Now we consider two cases.
Case #1: Let ## n ## be an even integer.
That is, ## n=2k ## for ## k>1 ##.
Then we have ## n+2=2k+2 ## and ## n+4=2k+4 ##.
Note that all integers ## n, n+2, n+4 ## are even.
Thus, all integers ## n, n+2, n+4 ## are composites.
... since all primes ##n>3## are odd.
Math100 said:
Case #2: Let ## n ## be an odd integer.
That is, ## n=2k+1 ## for ## k>1 ##.
For ##k=1## we get the triple ##\{3,5,7\}## of primes. Hence the statement requires ##n>3## which means ##k>1##.
Math100 said:
Then we have ## n+2=2k+3 ## and ## n+4=2k+5 ##.
Suppose that ## 2k\equiv r \mod 3 ##.
Then we have ## 2k+1\equiv r+1 \mod 3 ##, ## 2k+3\equiv r \mod 3 ## and
## 2k+5\equiv r+2 \mod 3 ##.
Thus, there exists exactly one integer that is divisible by ## 3 ##.
Therefore, for ## n>3 ##, the integers ## n, n+2, n+4 ## cannot all be prime.
 
  • Like
Likes Math100 and PeroK

1. What does it mean for integers to be "prime"?

Integers are considered prime if they are only divisible by 1 and themselves, with no other factors.

2. How do we prove that n, n+2, n+4 cannot all be prime for n>3?

This can be proven using a proof by contradiction, assuming that all three integers are prime and then showing that this leads to a contradiction.

3. Can we use any value for n to show that the three integers cannot all be prime?

No, the statement only holds true for n>3. For values of n less than or equal to 3, it is possible for all three integers to be prime (e.g. n=3, n+2=5, n+4=7).

4. Can we use any other method to prove that the statement is true?

Yes, there are other methods such as using modular arithmetic or the Sieve of Eratosthenes to show that at least one of the three integers must be composite.

5. Is this statement related to any other famous mathematical theorems?

Yes, this statement is related to the famous Twin Prime Conjecture, which states that there are infinitely many pairs of prime numbers that differ by 2.

Similar threads

  • Precalculus Mathematics Homework Help
Replies
17
Views
2K
  • Precalculus Mathematics Homework Help
Replies
10
Views
2K
  • Precalculus Mathematics Homework Help
Replies
2
Views
687
  • Precalculus Mathematics Homework Help
Replies
3
Views
1K
  • Precalculus Mathematics Homework Help
Replies
1
Views
635
  • Precalculus Mathematics Homework Help
Replies
12
Views
1K
  • Precalculus Mathematics Homework Help
Replies
9
Views
1K
  • Precalculus Mathematics Homework Help
Replies
10
Views
800
  • Precalculus Mathematics Homework Help
Replies
6
Views
1K
  • Precalculus Mathematics Homework Help
Replies
6
Views
1K
Back
Top