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
SUMMARY

The discussion focuses on proving that for any prime number \( p \geq 5 \), the expression \( p^2 + 2 \) is composite. The proof utilizes the Division Algorithm to categorize \( p \) into forms \( 6k+1 \) and \( 6k+5 \). In both cases, it is shown that \( p^2 + 2 \) can be expressed as a multiple of 3, confirming its composite nature. The use of modulo arithmetic is highlighted as an effective tool in the proof process.

PREREQUISITES
  • Understanding of prime numbers and their properties
  • Familiarity with the Division Algorithm
  • Knowledge of composite numbers
  • Basic concepts of modulo arithmetic
NEXT STEPS
  • Study the Division Algorithm in detail
  • Explore properties of prime and composite numbers
  • Learn advanced techniques in modulo arithmetic
  • Investigate other proofs involving prime numbers and their expressions
USEFUL FOR

Mathematicians, students studying number theory, and anyone interested in proofs involving prime numbers and modular arithmetic.

Math100
Messages
817
Reaction score
230
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
3K
  • · 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