Question

Problem 1 Define Mp 2 - 1 for a prime number p. The number Mp is called a Mersenne number. For example, M2 3, M37, M5 31, and M7127, and they are all prime numbers. When Mp is a prime number, it is called a Mersenne prime (1) Is M11 a prime number? (2) Is M13 a prime number?

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Mersene number2048-J- rri)e Here 2a4t1s not a pom 2. 8192-L 8191 Herse 8131 is rime numbers

Add a comment
Know the answer?
Add Answer to:
Problem 1 Define Mp 2" - 1 for a prime number p. The number Mp is...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • 4. (a) [3] Let p be prime and let M, denote the number 2P – 1....

    4. (a) [3] Let p be prime and let M, denote the number 2P – 1. The number M, is called a Mersenne number, and if it is prime, it is called a Mersenne prime. There is a test, called the Lucas-Lehmer Test, that gives a necessary and sufficient condition for My to be prime. It is always used to verify that a Mersenne number, suspected of being prime, is indeed a Mersenne prime. Give the statement of this test....

  • Bonus question: 4 bonus marks] A positive integer r is called powerful if for all prime numbers P...

    please post clear picture or solution. Bonus question: 4 bonus marks] A positive integer r is called powerful if for all prime numbers P, p implies p | r. A positive integer z is called a perfect power if there exist a prime number p and a natural number n such that p". An Achilles number is one that is powerful but is not a perfect power. For example, 72 is an Achilles number. Prove that if a and b...

  • 21. An isolated prime is a prime number p such that neither p -2 nor p+2 is prime. For example, 47 is an isolated prime since 45 and 49 are both not primes. Write a computer program that finds al...

    21. An isolated prime is a prime number p such that neither p -2 nor p+2 is prime. For example, 47 is an isolated prime since 45 and 49 are both not primes. Write a computer program that finds all the isolated primes between 50 and 100. Do not use MATLAB's built-in function isprime. Matlab Instructions: Make in while and for, mode 21. An isolated prime is a prime number p such that neither p -2 nor p+2 is prime....

  • The prime factorization of a number is the unique list of prime numbers that, when multiplied,...

    The prime factorization of a number is the unique list of prime numbers that, when multiplied, gives the number. For example, the prime factorization of 60 is 2 ∗ 2 ∗ 3 ∗ 5. In this problem you must write code to recursively find and return the prime factorization of the given number. You must print these in ascending sorted order with spaces in between. For example, if your input is: 120 then you should print the following output: 2...

  • (prime.cpp) A prime number is a number that cannot be formed by multiplying two smaller numbers...

    (prime.cpp) A prime number is a number that cannot be formed by multiplying two smaller numbers (not including 1). For example, 2, 3, 5 are prime numbers but 4 (2*2) and 6 (2*3) are not. Write a C++ program that receives the start point and end point from user and displays all the prime numbers in this range. The program also receives how many numbers to display per row. No need to validate. Print the results in a tabular format....

  • *** Write a function called circular_primes that finds the number of circular prime numbers smaller than...

    *** Write a function called circular_primes that finds the number of circular prime numbers smaller than n, where n is a positive integer scalar input argument. For example, the number, 197, is a circular prime because all rotations of its digits: 197, 971, and 719, are themselves prime. For instance, there are thirteen such primes below 100: 2, 3, 5, 7, 11, 13, 17, 31, 37, 71, 73, 79, and 97. It is important to emphasize that rotation means circular...

  • Is Prime Number In this program, you will be using C++ programming constructs, such as functions....

    Is Prime Number In this program, you will be using C++ programming constructs, such as functions. main.cpp Write a program that asks the user to enter a positive integer, and outputs a message indicating whether the integer is a prime number. If the user enters a negative integer, output an error message. isPrime Create a function called isPrime that contains one integer parameter, and returns a boolean result. If the integer input is a prime number, then this function returns...

  • 8. Define (n) to be the number of positive integers less than n and n. That...

    8. Define (n) to be the number of positive integers less than n and n. That is, (n) = {x e Z; 1 < x< n and gcd(x, n) = 1}|. Notice that U (n) |= ¢(n). For example U( 10) = {1, 3,7, 9} and therefore (10)= 4. It is well known that (n) is multiplicative. That is, if m, n are (mn) (m)¢(n). In general, (p") p" -p Also it's well known that there are relatively prime, then...

  • Problem 6: Let p be an odd prime number, so that p= 2k +1 for some...

    Problem 6: Let p be an odd prime number, so that p= 2k +1 for some positive integer k. Prove that (k!)2 = (-1)k+1 mod p. Hint: Try to see how to group the terms in the product (p − 1)! = (2k)! = 1 * 2 * 3... (2k – 2) * (2k – 1) * (2k) to get two products, each equal to k! modulo p.

  • The prime factorization of a number is the unique list of prime numbers that, when multiplied,...

    The prime factorization of a number is the unique list of prime numbers that, when multiplied, gives the number. For example, the prime factorization of 60 is 2 ∗ 2 ∗ 3 ∗ 5. In this problem you must write code to recursively find and return the prime factorization of the given number. You must print these in ascending sorted order with spaces in between. For example, if your input is: 120 then you should print the following output: 2...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT