Problem 525. Mersenne Primes
Solution Stats
Problem Comments
-
3 Comments
2047 must turn true... gotta deal with this
No. 2047 is not a Mersenne prime. 2047=23*89, even though it is true that 2047=2^11-1.
Some correct solutions are not logically correct, the test case must be fixed
Solution Comments
-
3 Comments
cheating wirth system
isn't 2047 supposed to give true?? it satisfies the criteria. But the test suite has it as false. what am i missing?
No. 23*89.
Problem Recent Solvers448
Suggested Problems
-
Read a column of numbers and interpolate missing data
1896 Solvers
-
Replace NaNs with the number that appears to its left in the row.
2621 Solvers
-
Flip the main diagonal of a matrix
625 Solvers
-
(Linear) Recurrence Equations - Generalised Fibonacci-like sequences
255 Solvers
-
Calculate Amount of Cake Frosting
18374 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!