Number Thry: Divisibilty, perfect square.

  • Thread starter Thread starter mattmns
  • Start date Start date
  • Tags Tags
    Square
Click For Summary

Homework Help Overview

The discussion revolves around proving that a perfect square cannot be expressed in the form 3k+2 for any integer k, and subsequently exploring the implications for prime numbers p greater than or equal to 5, specifically regarding the expression p^2 + 2.

Discussion Character

  • Exploratory, Conceptual clarification, Assumption checking

Approaches and Questions Raised

  • Participants discuss using proof by contradiction and explore parity arguments. There are attempts to apply modular arithmetic, particularly mod 3, to analyze the properties of perfect squares. Some participants question the validity of certain assumptions and methods, such as the use of induction and the constraints on using modular arithmetic.

Discussion Status

The discussion is active with various approaches being considered. Some participants have expressed confidence in the modular method, while others are still seeking clarity on specific aspects of the proof. There is no explicit consensus yet, but productive ideas have been shared.

Contextual Notes

Participants note limitations in their current resources, as they are at the beginning of their studies. There is also a mention of imposed homework rules that may restrict certain methods, such as the use of modular arithmetic.

mattmns
Messages
1,129
Reaction score
5
Here is the question:
-------------
Show that a perfect square is never of the form 3k+2 for any k. Conclude that if p is prime and [itex]p \geq 5[/itex], then [itex]p^2 + 2[/itex] is always composite.
-------------

We are at the very start of the book, so there is not very much available to use. We have defined a|b, primes, floor and ceiling (which I don't think will play a role here), and have the division theorem.

For the first part I think it is going to be proved by contradiction, so I have been trying to get some kind of parity going with both sides. I tried using [itex]n^2 - 1 = 3k+1[/itex] and then breaking into evens and odds, but that did not get anywhere. I was also trying to get a contradiction with [itex]3k+2 \mid n[/itex], but again was able to get nothing. Any ideas?

For the second part I was using the result of the first. Since a perfect square is not of the form 3k+2 it must be of the form 3k+1 of 3k, for the former it is easy to see that [itex]p^2+2[/itex] is composite. But for the latter I am stuck again. Any ideas here?

Thanks!
 
Physics news on Phys.org
Can you have a number 3k that is the square of a prime greater than 4?
 
Obviously not, otherwise the "prime" would be divisible by 3 :smile: That takes care of the second part, thanks!
 
Last edited:
1) look at things mod 3.
a can either be:
a=1,2,-1 mod 3 => a^2=1 mod 3

2) use mod 3 again.
 
Induction? Prove its not true for n=1, then n=k+1.
 
tim_lou said:
1) look at things mod 3.
a can either be:
a=1,2,-1 mod 3 => a^2=1 mod 3
There's a tiny error there (should be a=0,1,2 mod 3)...but the method works.
 
We can't techincally use mod, but the idea behind it is perfect for the proof, thanks for the idea, I got it all worked now :biggrin:
 

Similar threads

Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 15 ·
Replies
15
Views
5K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 13 ·
Replies
13
Views
4K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
4K
Replies
7
Views
3K