If p##\geq##5 is a prime number, show that p^{2}+2 is composite?

  • Thread starter Thread starter Math100
  • Start date Start date
  • Tags Tags
    Composite Prime
Click For Summary

Homework Help Overview

The discussion revolves around proving that if \( p \geq 5 \) is a prime number, then \( p^2 + 2 \) is composite. The subject area includes number theory and properties of prime numbers.

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • The original poster attempts a proof by considering the forms of \( p \) based on the Division Algorithm and explores two cases for \( p \). Other participants suggest using modulo arithmetic to simplify the reasoning.

Discussion Status

Some participants express agreement with the original proof, while others suggest alternative approaches, such as using modulo arithmetic. The discussion reflects a mix of verification and exploration of different methods.

Contextual Notes

There is an emphasis on the use of modulo arithmetic, with some participants noting its importance in mathematical reasoning. The original poster's proof is under review for correctness.

Math100
Messages
823
Reaction score
234
Homework Statement
If p##\geq##5 is a prime number, show that p^{2}+2 is composite.
[Hint: p takes one of the forms 6k+1 or 6k+5.]
Relevant Equations
None.
Proof: Suppose p##\geq##5 is a prime number.
Applying the Division Algorithm produces:
p=6k, p=6k+1, p=6k+2, p=6k+3, p=6k+4 or p=6k+5 for some k##\in\mathbb{Z}##.
Since p##\geq##5 is a prime number,
it follows that p cannot be divisible by 2 or 3 and p must be odd.
Thus, p takes one of the forms 6k+1 or 6k+5.
Now we consider two cases.
Case #1: Suppose p=6k+1.
Then we have p^{2}+2=(6k+1)^{2}+2
=36k^{2}+12k+3
=3(12k^{2}+4k+1)
=3m,
where m=12k^{2}+4k+1 is an integer.
Thus, p^{2}+2 is composite.
Case #2: Suppose p=6k+5.
Then we have p^{2}+2=(6k+5)^{2}+2
=36k^{2}+60k+27
=3(12k^{2}+20k+9)
=3m,
where m=12k^{2}+20k+9 is an integer.
Thus, p^{2}+2 is composite.
Therefore, if p##\geq##5 is a prime number, then p^{2}+2 is composite.

Above is my proof for this problem. Can anyone please verify/review to see if this is correct?
 
Physics news on Phys.org
It looks fine. Slicker is
$$p = \pm 1 \ ( mod \ 6) \ \Rightarrow \ p^2 +2 = 3 \ (mod \ 6)$$$$\Rightarrow \ p^2+2 = 3k$$
 
  • Like
Likes   Reactions: Orodruin and Math100
PeroK said:
It looks fine. Slicker is
$$p = \pm 1 \ ( mod \ 6) \ \Rightarrow \ p^2 +2 = 3 \ (mod \ 6)$$$$\Rightarrow \ p^2+2 = 3k$$
Thank you.
 
You should definitely be using modulo arithmetic more. It's not like it's something that takes a lot to learn. It's the sort of thing that some people use before they realize it's a thing that gets taught in maths classes.
 
  • Like
Likes   Reactions: Math100

Similar threads

  • · Replies 30 ·
2
Replies
30
Views
4K
  • · Replies 16 ·
Replies
16
Views
3K
Replies
3
Views
2K
Replies
30
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 1 ·
Replies
1
Views
1K
Replies
15
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 9 ·
Replies
9
Views
2K