Definition:Mersenne Prime

A Mersenne prime is a prime number of the form $$2^p - 1$$, where $$p$$ is prime.

From Primes of the Form of a Power Less One, it is clear that Mersenne primes are the only numbers of the form $$m^n - 1$$ which are prime.

Also see
Lucas-Lehmer Test