Prove or disprove whether number is prime using theorem listed in post

  • Thread starter Thread starter lostNfound
  • Start date Start date
  • Tags Tags
    Prime Theorem
lostNfound
Messages
12
Reaction score
0
So the problem has to deal with Mersenne numbers 2^p-1 where p is a odd prime, and Mp may or may not end up being prime.

The theorem given is:
If p is an odd prime, but Mp=2^p-1 is not a Mersenne prime, then every divisor of the Mersenne number 2^p-1 is of the form 2*c*p+1 where c is a nonnegative integer.

Assuming this theorem is true, I need to somehow use it to determine whether M(13)=2^11-1=2047 and M(23)=2^23-1=8388607 are prime.

I know it's supposed to start with something like "If 2047 is not prime, then we know it must have prime factor <=sqrt(2047) which is about 45.24...but I am unsure of where to go from there.

Help would be awesome!

Thanks!
 
Physics news on Phys.org
Take the first one, M(13)=2047. To check if that's prime you'd ordinarily have to check all of the primes less than 45.24 to see if any divide it. But the theorem tells you you don't have to check all of them. Which ones do you have to check? In the case of M(23) there's a lot more to check, but you can hope that one of the smaller ones will work.
 
That helps a lot. I'm not sure why I didn't look at it that way before but now I know what was meant by the question. Thanks! I'll let you know if for some reason I get stuck again.
 
Thread 'Use greedy vertex coloring algorithm to prove the upper bound of χ'
Hi! I am struggling with the exercise I mentioned under "Homework statement". The exercise is about a specific "greedy vertex coloring algorithm". One definition (which matches what my book uses) can be found here: https://people.cs.uchicago.edu/~laci/HANDOUTS/greedycoloring.pdf Here is also a screenshot of the relevant parts of the linked PDF, i.e. the def. of the algorithm: Sadly I don't have much to show as far as a solution attempt goes, as I am stuck on how to proceed. I thought...
Back
Top