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

1606 Views

See similar MAT University tutors

Related MAT University answers

All answers ▸

Show that the inequality x^4 < 8x^2 + 9 is satisfied for when -3 < x < 3 .


(Note this is the kind of exercise I would ask someone who is doing further maths and especially someone MAT/STEP) Sketch the graph of y=sin(1/x)


How many solutions does the equation 2sin^2(x) - 4sin(x) + cos^2(x) + 2 = 0 have in the domain 0<x<2pi


Solve 8^x + 4 = 4^x + 2^(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