fix mersenne primes demo