Mersenne Prime Checker
Run the Lucas-Lehmer test on 2^p - 1 for any exponent p up to 5000, with the digit count, the rank in the known list and the even perfect number it generates.
Related tools
All Numbers & arithmetic tools →Open Mersenne Prime Checker and you get an answer straight away, with no account to create. It sits under Numbers & arithmetic in our catalogue, alongside Prime Factor Calculator and First n prime numbers.
How to use it
- Open the tool — no signup or install needed.
- Enter your input or adjust the available options.
- Get your result instantly, then copy or download it.
Frequently asked questions
What does Mersenne Prime Checker do?
Run the Lucas-Lehmer test on 2^p - 1 for any exponent p up to 5000, with the digit count, the rank in the known list and the even perfect number it generates.
When would I actually use this?
Reading a number written another way: a Roman numeral on a monument, a hexadecimal colour, a binary byte, or a fraction that needs reducing.
What is the most common mistake?
Assuming a decimal fraction survives a change of base. A tenth is exact in decimal and infinitely repeating in binary, which is why 0.1 + 0.2 is not 0.3 in most programming languages.
How is Mersenne Prime Checker different from Prime Factor Calculator?
They sit next to each other but answer different questions: Prime Factor Calculator is the one to open when you need it to factor any integer up to 10^15 with Pollard's rho and Miller-Rabin, with the factor tree, exponent form, divisor count, sigma and Euler's totient. Pick whichever matches what you're starting from — both are free.
Is there a tool for the next step?
First n prime numbers is the closest one after this: List the first n prime numbers — the building blocks of arithmetic that have no divisors but 1 and themselves. Enter how many you want (up to 10,000) and it returns the sequence, the nth prime itself and the sum of them all.
What else is worth having open alongside it?
List of prime numbers and Prime factorization calculator — they come up in the same task often enough to be worth a second tab.
Where do the figures come from?
Base conversion and number-theory results are exact. Roman numerals follow the standard subtractive form used since the Middle Ages, which is not the only one the Romans themselves used.