Problem 525. Mersenne Primes
Solution Stats
Problem Comments
-
3 Comments
jean claudeon 21 Oct 2017
2047 must turn true... gotta deal with this
John D'Erricoon 22 Feb 2018
No. 2047 is not a Mersenne prime. 2047=23*89, even though it is true that 2047=2^11-1.
Minh-Khoi LE2022年2月22日
Some correct solutions are not logically correct, the test case must be fixed
Solution Comments
-
3 Comments
MD. MASRUL HUDAon 24 Jun 2012
cheating wirth system
Riyasaton 9 Feb 2015
isn't 2047 supposed to give true?? it satisfies the criteria. But the test suite has it as false. what am i missing?
Jan Orwaton 10 Feb 2015
No. 23*89.
Problem Recent Solvers421
Suggested Problems
16299 Solvers
First non-zero element in each column
729 Solvers
Cell Counting: How Many Draws?
1058 Solvers
511 Solvers
2180 Solvers
More from this Author1
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!