Show that if a^n - 1 is prime then a = 2. If n is not prime, can 2^n-1 be prime?

This question is based on MAT 2015 question 2. This question has already built up the generalized difference of two powers in the buildup. We can apply this to an - 1 to give: an - 1 = (a - 1)(an-1 + an-2 + ... + a + 1).From this we can see that an - 1 is always divisible by a - 1. So for an-1 to be prime we must have that a-1 = 1, so a = 2.Now that we have a = 2, we can change future statements about an-1 to 2n-1. Now assume that n is not prime, that is n is composite. Then n = pq for some p,q > 1. Now we can rewrite:2n - 1 = 2pq - 1 = ( 2p)q - 1 = (2p-1)( (2p)q-1 + (2p)q-2 + ... + 2p + 1)Since p > 1, we have that 2p - 1 > 21 - 1 = 1. Therefore 2n-1 is divisible by 2p-1 and is not prime.

MW
Answered by Mark W. MAT tutor

1637 Views

See similar MAT University tutors

Related MAT University answers

All answers ▸

We define the digit sum of a non-negative integer to be the sum of its digits. For example, the digit sum of 123 is 1 + 2 + 3 = 6. Let n be a positive integer with n < 10. How many positive integers less than 1000 have digit sum equal to n?


Can you please help with Question 5 on the 2008 MAT?


How do you solve hard integration questions using information you know


If f(x) =x^2 - 5x + 7 what are the coordinates of the minimum of f(x-2)?


We're here to help

contact us iconContact ustelephone icon+44 (0) 203 773 6020
Facebook logoInstagram logoLinkedIn logo

MyTutor is part of the IXL family of brands:

© 2026 by IXL Learning