Mersenne primes and perfect numbers are two deeply interlinked types of natural numbers in number theory. Visualization of 6 as a perfect number Logarithmic graph of the number of digits of the largest known prime by year, nearly all of which have been Mersenne primes