• Congratulations to the Class of 2024 on your results!
    Let us know how you went here
    Got a question about your uni preferences? Ask us here

Mind blank 2.0 (1 Viewer)

Epicman69

Active Member
Joined
Jan 24, 2020
Messages
213
Gender
Male
HSC
2022
you will need to prove that if n is not prime then 2^n - 1 is prime as well. So basically you just need to let n=pq, and then just let 2^n - 1 = 2^pq - 1, then you can factorise it into (2^p - 1) (2^p(q-1) + 2^p(q-2) + ... + 1) which proves the thing pretty much instantly.
 

idkkdi

Well-Known Member
Joined
Aug 2, 2019
Messages
2,588
Gender
Male
HSC
2021
you will need to prove that if n is not prime then 2^n - 1 is prime as well. So basically you just need to let n=pq, and then just let 2^n - 1 = 2^pq - 1, then you can factorise it into (2^p - 1) (2^p(q-1) + 2^p(q-2) + ... + 1) which proves the thing pretty much instantly.
2^n - 1 is not prime first line. typo in case op misses.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Top