Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Not a kata suggestion. The kata expects average computation with no rounding or flooring required. And it is too late to enforce breaking changes to all languages
You've misunderstood the problem slightly. It's not asking if
n
is a Mersenne prime, but if it produces a Mersenne prime using the provided definition (Mn = 2n - 1).