Numbers in the form of 2P – 1 where ‘P’ is a natural number, are called Mersenne numbers. How many Mersenne numbers less than 5000 are prime?

Numbers in the form of 2P – 1 where ‘P’ is a natural number, are called Mersenne numbers. How many Mersenne numbers less than 5000 are prime? Correct Answer 4

Calculation:

⇒ When P = 1 ; 2P – 1 = 21 – 1 = 1

⇒ When P = 2 ; 2P – 1 = 22 – 1 = 3

⇒ When P = 3 ; 2P – 1 = 23 – 1 = 7

⇒ When P = 4 ; 2P – 1 = 24 – 1 = 15

⇒ When P = 5 ; 2P – 1 = 25 – 1 = 31

⇒ When P = 6 ; 2P – 1 = 26 – 1 = 63

⇒ When P = 7 ; 2P – 1 = 27 – 1 = 127 

⇒ When P = 8 ; 2P – 1 = 28 – 1 = 255

⇒ When P = 9 ; 2P – 1 = 29 – 1 = 511

⇒ When P = 10 ; 2P – 1 = 210 – 1 = 1023

⇒ When P = 11 ; 2P – 1 = 211 – 1 = 2047

⇒ When P = 12 ; 2P – 1 = 212 – 1 = 4095

⇒ When P = 13 ; 2P – 1 = 213 – 1 = 8191

⇒ Mersenne numbers (M) will be prime for p = 2, 3, 5, and 7.

⇒ For p = 13 onwards, the value of M will cross 5000.

Additional Information

⇒ A prime number is a positive integer having exactly two factors. If p is a prime, then it’s only factors are necessarily 1 and p itself. Any number which does not follow this is termed as composite numbers, which means that they can be factored into other positive integers.

⇒ The primes are 2, 3, 5, 7, 11, 13, 17, 19, 23, 29....

Related Questions

In the question below, are given a statement followed by three courses of actions numbered I, II and III. On the basis of the information given, you have to assume everything in the statement to be true, and then decide which of the suggested courses of action logically follow(s) for pursuing. Statement: With just two days to go for the second edition of Amazon Prime Day, the e-commerce giant has been keeping its loyalists busy with a seven-day entertainment marathon. Started on July 10 with the release of Amitabh Bachchan starrer '102 Not Out', Amazon has been dropping one title every day for its Prime members. With Video and Music, Amazon clearly wants to showcase that Prime day is not merely about products. Courses of action: I. Building on the success of its previous sales, Amazon is gearing up for a bigger event, with extra perks for its Prime members in the form of quality video and music content - and not just early access and quicker deliveries. II. Started on July 3, Prime members who play three songs from the millions on Amazon Prime Music stand a chance to win an Echo Dot every day, with two winners announced daily. III. With Raazi and Transformers: The Last Night slated for release in the next two days, members already have access to Dunkirk, Telugu hit Officer as well as Prime Original show, Comicstaan - a reality TV show to find India's next stand-up comedy star.