Let a and n be two positive integers with a,n => 2. Prove that if a^n - 1 is prime then a = 2 and n is prime.
\[a,n \ge 2\]
what does _> INDICATE
wrote it above just now
is equal to or greater than
yes mate
it is prime
i need to prove it
oh ok
any ideas anyone?
2 power anything - 1 is always prime try it.
sorry 2 power any prime number.
but i need to prove it for all numbers aboove and equal to 2
2^11-1 is not prime
this is actually really easy...where are you stuck?
please show how to prove.
I need to prove for all numbers equal to and above the number 2, that when n is prime and a is 2, the equation \[2^{n}-1\] is always prime. how do i prove this?
\[2^n-1\] is not always prime...see my counter example above.
then im lost, dont get the question, my first post shows the whole question as its written
that one is stated correctly...your recent statement is not
this question confuses me, can you explain what im supposed to do please?
is says that if \[2^n-1\] is prime then a must be 2 and n must be prime
yes i need to prove that
i get my mistake previously i was working the wrong way around, sorry
start by showing that is \[2^n-1\] is prime then n is prime
how do i show that?
what happens if n is not prime
when n is not prime the equation is not prime
but that doesn't prove it for all results?
prove it is not prime..one step at a time...geesh
can you explain it fully?
if n is not prime then n=x*y \[2^n-1=2^{xy}-1=(2^x)^y-1\] this is factorable...you can show that. thus n must be prime
after you show it is factorable... assume a is odd then a^n-1 is even and not prime so it is not prime so a must be even assume a>2 then a=2*m show \[(2m)^n-1\] is divisible by (2m-1) thus a=2 is the only number that works
thanks very much i get the proving by contradiction. i dont get how to show the last part, that (2m)^n -1 is divisible by (2m-1). appreciate the help
prove it by induction
proving by induction, subbed in n = 1 for base which works, then n+1 so (2m)^(n+1) -1 but dont know how to prove its divisible from there
or use \[x^n-1=(x-1)(x^{n-1}+x^{n-2}+\cdots+x+1)\]
id rather use induction, need to learn how to do that for my test
\[(2m)^{n+1}-1=(2m)^n(2m)-1=(2m)^n(1+(2m-1))-1\] \[=(2m)^n-1+(2m-1)(2m)^n\]
is that the whole proof?
you then state that \[(2m-1)|((2m)^n-1)\] by our assumption and \[(2m-1)|(2m-1)(2m)^n\] since 2m-1 is a factor. Thus it dives the sum.
*divides
thanks i get it now. how does this show that a = 2 is the only number that works when the equation is prime?
Join our real-time social learning platform and learn together with your friends!