Find all primes of the form n3−1 for natural number n.
Open in App
Solution
In mathematics, a Mersenne prime is a prime number of the form 2n−1. This is to say that it is a prime number which is one less than a power of two. The first four Mersenne primes are 3,7,31,127 . Here, Given that n3−1,n=2 So, prime number =23−1=7