A Mersenne prime has $17 425 170$ digits. How many digits needs to be checked to know that this is a prime?
I know that the square rot of a number digit needs to be checked to know if it is a prime, but I have no idea what to do here.
A Mersenne prime has $17 425 170$ digits. How many digits needs to be checked to know that this is a prime?
I know that the square rot of a number digit needs to be checked to know if it is a prime, but I have no idea what to do here.
$2^{57885161}-1$ is indeed prime (see here), and has $17425170$ digits. It is very difficult to check that this Mersenne number is prime (see the above link).