Problem 525. Mersenne Primes
Solution Stats
Problem Comments
-
3 Comments
jean claude
on 21 Oct 2017
2047 must turn true... gotta deal with this
John D'Errico
on 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 LE
on 22 Feb 2022
Some correct solutions are not logically correct, the test case must be fixed
Solution Comments
Show commentsProblem Recent Solvers602
Suggested Problems
-
Program an exclusive OR operation with logical operators
692 Solvers
-
Return the first and last characters of a character array
7856 Solvers
-
1056 Solvers
-
Relative ratio of "1" in binary number
1035 Solvers
-
592 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!