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.

Answered by Mark W. MAT tutor

1218 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?


How do you solve hard integration questions using information you know


The inequality x^4 < 8x^2 + 9 is satisfied precisely when...


Let a and b be positive real numbers. If x^2 + y^2<=1 then what is the largest that ax+by can get?


We're here to help

contact us iconContact usWhatsapp logoMessage us on Whatsapptelephone icon+44 (0) 203 773 6020
Facebook logoInstagram logoLinkedIn logo

© MyTutorWeb Ltd 2013–2025

Terms & Conditions|Privacy Policy
Cookie Preferences