This one is quite easy, let us give it a try: Find the no of ordered triplets \( (x, y, z) \), where \( x\),\( y \) and \(z\) are primes and \( x^y + 1 = z \) Please note that your answer should be conclusive.
Where to start ... (1, 1, 2) takes care of all of the even primes
1 is a prime number ??!!!
no its not - surely?
Yes, one is neither prime not composite.
only Goldbach considered the 1 is a prime number
opps, I only got z prime, sorry ..
(2,2,5) is the first solution - but I am trying to construct some sort of generalisation to cover all solutions
but today 1 not is prime so the first prime is 2
I don't know what are you talking about jhonny but isn't the conjecture is that every even integer greater than 2 can be expressed as the sum of two primes, how does 1 comes in question ?
yes the first triplet is 2,2,5
asnaseer you are in the right track :)
I recall some property of primes that states that \(2^p-1\) where \(p\) is also prime will generate primes. is my memory correct?
although I'm not sure if that will help here...
Not really but that has got some value and lead to some interesting observation check this out http://en.wikipedia.org/wiki/Mersenne_prime
Will this help us assure that we have them all? No others as the prime numbers get larger?
(4,2,17) is another solution
4 is prime ?
d'oh!
Need a hint Asnaseer?
yes plz
There is only solution, but how could we conclusively show that?
wah! - only one solution!
No hints please. :P
if z is prime, then z-1 must be a composite number
so we get x^y=composite number
Yes, you are close.
so x*x*x*...=composite number
We know that powers of even are even numbers, and powers of odd numbers are odd numbers. The formula then suggests that if x is odd then z has to be even and vice versa.
which means it has two or more factors
But we only have one even prime which is 2.
So, if z=2, then we have \[x^y=1\] This last equation obviously has no solutions where x and y are primes.
We're left with the case where x=2: \[2^y=z-1\]
and soooooooo... what's the coup de grace ?
Give me a minute.
any composite number can be written as :\[c=p_1*p_2*p_3*...\]where \(p_i\) are primes
sorry - forgot to add the powers to each prime
The only prime p where 2^p+1 is prime is 2. We need to prove that.
\[c=p_1^a*p_2^b*p_3^c*...\]
so we get :\[x^y=p_1^a*p_2^b*p_3^c*...\]
and this can only be valid if:\[x^y=p_1^a\]
therefore no more solutions
not rigorous - but I think its along the right lines?
how could you conclusively say that \( x^y=p_1^a*p_2^b*p_3^c*... \) is only valid when \( x^y=p_1^a \) ?
sorry I meant to say:\[x^y=p_i^j\]since x is prime. therefore it cannot be equal to the product of multiple primes.
But how does that prove that there are no more solutions?
@FoolForMath: if this is a "quite easy" problem in your books then you are most definitely operating at a much higher plateau than I could ever achieve :-)
- so i think the only one solution is 2,2,5
lol, this is really easy, I don't believe that I am any different from any of you guys :)
yes @jhonny9 - but how do we prove this?
z is prime, therefore z-1 is a composite number, therefore we can write x^y as:\[x^y=p_1^a*p_2^b*...\]but this can only be true for some \(p_i\).
there is some /insight/ that we are overlooking...
so my opinion is to prove this so we need to prove that ((2n+1) on exponent (2n+1) ) and added to this 1 will be always or not will be never one number in the form of (2n+1)
I showed above that all solutions has to be of the form: \[2^y=z+1, z\ne 2.\]
(2n+1) because every primes grater than 2 can be writing in this form
hang on...
since z is prime, it must be odd (as the first solution proves) therefore z-1 must be even therefore QED?
Yeah, z+1 must be even unless z=2, which is not a solution as I've shown above.
So x must be even, that's x must be 2.
as this leads to:\[x^y=2n\]which can only be true if x=2 as that is the only even prime
Yes.
but that still does not prove that there is only ONE solution :-(
Right! It brings us closer though.
so this leads to x MUS be 2 as stated, so we get:\[2^y=2n\]therefore n must be a power of 2, so:\[n=2^m\]so:\[2^y=2*2^m=2^{m+1}\]therefore:\[y=m+1\]but that still does not prove only ONE solution :-(
working back, we get:\[z-1=2^{m+1}\]I don't know if this helps us?
I don't think we proved that 'm' must be prime?
It's not, sorry!
You guys must be thinking that I am evil :P
:-) - no - just smart :-)
ok, so m=1 gives y=2 and ALL other m's must be even for y to be a prime
therefore m=2k
therefore:\[z-1=2^{2k+1}\]and\[y=2k+1\]
so we need to prove that:\[z=1+2^{2k+1}\]is never prime
I feel like we're going in circles :-)
Another idea, let m=z+1, then \[y=\log_{2} m\] How many m's are there where \(\log_{2} m \) is prime?
And m-1 is prime too.
So, m has to be in the form of \(2^n\), \(n\in Z\) in order for \(\log_{2}m\) to be integer.
Oh sorry, m=z-1.
Which means m+1 has to be prime.
@FoolForMath - are we anywhere close to the solution?
Back again to the point where I need to show that only one prime p exists where \(2^p+1\) is prime. Although it doesn't seem that difficult to prove, I can't figure it out.
That prime is obviously p=2.
I have to go now, I'll be back later.
I /think/ I've got it. we end up with:\[z-1=2^{m+1}\]now, since z is prime, z-1 must be composite, so we can write this as:\[p_1^a*p_2^b*...=2^{m+1}\]and this can ONLY be true for one prime, namely 2.
Probably, but you are missing a key piece of information and that why you are going round and round.
Asnaseer, do you know that there any prime number \(\ge 5\) can be written in the form of \( 6k\pm1 \)
no I did not
now you know :D :)
so, using that newly acquired knowledge, I get: \[2^y+1=z=6k+1\text{ OR }6k-1\]therefore:\[2^y=6k\text{ OR }6k-2\]1st solution cannot be valid, therefore:\[2^y=6k-2=2(3k-1)\]therefore:\[2^{y-1}=3k-1\]
but how do we prove this?
Lets do it like this \( 2^y=6k-2\Rightarrow y=\log_2 2(3k-1) \) so, for y being prime the only possible value is when k=1. and 3k-1 is never a power of 4, Hence QED ;)
hmmm - I need to learn some more math before I can assert such things... :-) does this type of thing come under "Number Theory"? where would be a good place to learn?
Yes this is number theory and University probably ? :)
:-) - I was just wondering if you knew any good online resources for it
if not - I can google for it myself.
ok, after spending a little more time on this I think I have an alternative proof. proving x must be 2 is straight forward and can be seen above. this leaves us with:\[2^y+1=z\]for which we see one solution as y=2, z=5 all other solutions to this MUST involve an ODD value for y (since 2 is the ONLY even prime) so let y=2n+1 to get:\[2^{2n+1}+1=z\]after trying a few values for n, I noticed that this always seems to be a multiple of 3, so I tried to prove this using induction as follows: we want to prove \(2^{2n+1}+1=3m\). We can show this is true for n=1:\[2^{2+1}+1=2^3+1=9=3*3\] lets assume its true for some n=k, so:\[2^{2k+1}+1=3m\] now lets try to prove it for n=k+1:\[2^{2(k+1)+1}+1=2^{2k+1+2}+1=4*2^{2k+1}+1\]\[=4*(3m-1)+1=12m-4+1=12m-3=3(4m-1)\]thus we have proved that \(2^{2n+1}+1\) is always a multiple of 3. therefore we can write:\[2^{2n+1}+1=z=3m\]but z is a prime number, so it cannot have factors other than 1 and itself. the only way this can be true is if m=1 giving z=3 which is not a solution to the original equation. therefore the only valid solution is x=2, y=2, z=5.
is my new solution sound and complete?
and sorry, I am not aware of any online resources for number theory, if you come across one, please let me know. Thanks.
and your new solution seems correct :) Magnum opus!
Join our real-time social learning platform and learn together with your friends!