Proving the Divisibility Rule for Prime Numbers: A Homework Statement

In summary, the conversation discusses how to approach a proof showing that if p is a prime greater than 3, then p leaves a remainder of 1 or 5 when divided by 6. The conversation also explains the definition of composite numbers and the need to show all cases in order to prove the statement. The conversation concludes by discussing the need to add a case with r=0 and the statement being true even if the remainder is not always 1 or 5.
  • #1
scottstapp
40
0

Homework Statement



If p is a prime greater than 3, then p leaves a remainder of 1 or 5 when divided by 6.

Homework Equations



I have been given the definition of composite which is an integer a is composite if there exist integers b and c such that a=bc where both b>1, c>1

3. My attempt
Let P be a prime number greater than 3
P=6q+r 1<=r<=5 by the division algorithm

This is where I get lost. I'm not even sure if line two is the way to approach this proof.
SHould I do separate cases such as
CaseI: r=1 so p=6q+1 ?

I don't think so because that would not be proving anything but rather it would be a retelling of what I need to prove.

Thanks for your time and help
 
Physics news on Phys.org
  • #2
You need to do all the cases that you want to show aren't possible and show that they are impossible. So for instance:

Case 1 (r = 2):
Then p=6q+2 = 2(3q+1) which isn't prime unless q=0, but then p=6*0+2=2 which is a contradiction.

You now need to do the cases r=3,4.
 
  • #3
Thank you, is this what I would do?

Case 1: r=2, p=6q+2, p=2(3q+1) which is not prime unless q=0, but then p=6*0+2=2 which is a contradiction of the fact that p>3.

Case 2: r=3, p=6q+3, p=3(2q+1) which is not prime unless q=0, but then p=6*0+3 which is a contradiction of the fact that p>3.

Case 3: r=4, p=6q+4, p=2(3q+2) which is not prime

I feel as though I need to state why it is that p=2(3q+1), p=3(2q+1), and p=2(3q+2) are not prime. What I mean is to me it seems like this is not sufficient enough to just state that they are not prime. But wait, they are not prime because they are two integers being multiplied to create p correct?

Also, would I need to actually show that the remainder is 1 or 5 via the cases p=6q+1 and p=6q+5? Because it seems as though all I am doing is saying that the remainder cannot be 2,3,4 but I say nothing about it being 1 or 5.

Thank you very much for your time and help
 
  • #4
scottstapp said:
Thank you, is this what I would do? ...
Yes that is the approach I would suggest.

I feel as though I need to state why it is that p=2(3q+1), p=3(2q+1), and p=2(3q+2) are not prime. What I mean is to me it seems like this is not sufficient enough to just state that they are not prime. But wait, they are not prime because they are two integers being multiplied to create p correct?
Yes mn is composite if both m and n are >1.

Also, would I need to actually show that the remainder is 1 or 5 via the cases p=6q+1 and p=6q+5? Because it seems as though all I am doing is saying that the remainder cannot be 2,3,4 but I say nothing about it being 1 or 5.
That is all you're saying, but it's also all you're asked to show. If the remainder isn't 0,2,3,4, then it must be 1 or 5. You don't need to prove that it can be either. Even if every prime >3 left a remainder of 1 the statement would be true. It's also true that any prime >3 leaves a remainder of 1,5 or 2 on division by 6. In reality it never leaves a remainder of 2, but the statement is still true in the sense that saying "the king is male or female" is true even though the king is never female.
 
  • #5
Thank you for all your help rasmhop. All I would need to add is another case that has r=0 correct? This is obvious that it is not a prime but it must be shown nonetheless.
 
Last edited:
  • #6
scottstapp said:
Thank you for all your help rasmhop. All I would need to add is another case that has r=0 correct? This is obvious that it is not a prime but it must be shown nonetheless.

Yes you need to add this case, and then you're done.
 
  • #7
Thanks for all your help
 

What is a prime number?

A prime number is a positive integer that can only be divided by 1 and itself without leaving any remainder.

What is a prime number proof?

A prime number proof is a mathematical proof that shows a given number is prime and cannot be divided by any other number except 1 and itself.

How can you prove a number is prime?

There are several methods to prove a number is prime, such as using the Sieve of Eratosthenes, the Wilson's theorem, or the AKS primality test. These methods involve using various mathematical algorithms and techniques to determine if a number meets the criteria of a prime number.

Why is it important to prove a number is prime?

Proving a number is prime is important in many areas of mathematics, such as cryptography, number theory, and computer science. It also helps in identifying special properties and patterns of prime numbers, which can lead to further research and discoveries.

What are some famous prime number proofs?

Some famous prime number proofs include Euclid's proof of the infinitude of primes, the Goldbach conjecture, and the recently discovered proof of the Twin Prime Conjecture by mathematicians Zhang and Maynard. There are also many ongoing efforts to prove the famous Riemann Hypothesis, which deals with the distribution of prime numbers.

Similar threads

  • Calculus and Beyond Homework Help
Replies
15
Views
2K
  • Calculus and Beyond Homework Help
Replies
3
Views
723
  • Calculus and Beyond Homework Help
Replies
1
Views
1K
  • Calculus and Beyond Homework Help
Replies
5
Views
1K
  • Calculus and Beyond Homework Help
Replies
13
Views
2K
Replies
18
Views
2K
  • Calculus and Beyond Homework Help
Replies
6
Views
1K
  • Calculus and Beyond Homework Help
Replies
16
Views
2K
  • Calculus and Beyond Homework Help
Replies
1
Views
1K
  • Calculus and Beyond Homework Help
Replies
5
Views
1K
Back
Top