Ad
  • Custom User Avatar

    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

  • Custom User Avatar

    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).