The Student Room Group

Bmo2 1996 q1

Scroll to see replies

Reply 40
Original post by Dog4444
Honestly, I can't follow it from "This has no solutions if a..." . If you're trying to prove that there is no solutions, when x,y>0. Try x=4,y=2,z=5.You get 16+9=25.


The line after that line is crucial, after that you are pretty much done.
Reply 41
Original post by Blutooth
"gcd(z2a,z+2a)=(z2a,2a+1)=1 "gcd(z-2^a,z+2^a)=(z-2^a,2^{a+1})=1

This line of yours is wrong is what I was trying to say. Consider z=2^{a+1}-2^{1}.

I will write out a full solution tomorrow morning. And with regards to earlier I was aware of that solution actually. it occurs when a-m=1, but i'm pretty sure it is the only one of its kind- was just hurrying with the latex cos i got to sleep..


I don't get where you got this z from.

[br]gcd(z2a,z+2a)=(z2a,z2a+2a+2a)=(z2a,z2a+2a+1)=(z2a,2a+1)=1[br][br]gcd(z-2^a,z+2^a)=(z-2^a,z-2^a+2^a+2^a)=(z-2^a,z-2^a+2^{a+1})= (z-2^a,2^{a+1})=1[br]
Pre-last part by euclidean algorithm.
What part of it you think is wrong?

And yeah, lets' do it tomorrow (well, today). :biggrin:
Reply 42
Original post by Dog4444
I don't get where you got this z from.

[br]gcd(z2a,z+2a)=(z2a,z2a+2a+2a)=(z2a,z2a+2a+1)=(z2a,2a+1)=1[br][br]gcd(z-2^a,z+2^a)=(z-2^a,z-2^a+2^a+2^a)=(z-2^a,z-2^a+2^{a+1})= (z-2^a,2^{a+1})=1[br]
Pre-last part by euclidean algorithm.
What part of it you think is wrong?

And yeah, lets' do it tomorrow (well, today). :biggrin:

That's not how you do the euclidean algorithm.

This is
if a>b
gcd(a,b)=gcd(a-b,b)

Also just considering that z=2a+1z=2^{a+1}, then z2a=2az-2^a=2^a and z+2a=2a+1+2az+2^a=2^{a+1}+2^a

both of these have 2a2^a or even 2 as a divisor and not 1. SO the GCD can't be 1.

It's a nice problem indeed. Yeah we'll get a better lid on it later 2day after some sleep :cool:
(edited 12 years ago)
Reply 43
Original post by Blutooth
That's not how you do the euclidean algorithm.

This is
if a>b
gcd(a,b)=gcd(a-b,b)

Also just considering that z=2a+1z=2^{a+1}, then z2a=2az-2^a=2^a and z+2a=2a+1+2az+2^a=2^{a+1}+2^a

both of these have 2a2^a or even 2 as a factor and not 1. SO the GCD can't be 1.

It's a nice problem indeed. Yeah we'll get a better lid on it later 2day after some sleep :cool:


z2a+2a+1z2a\displaystyle \frac{z-2^a+2^{a+1}}{z-2^a} remainder is 2a+1z2a\displaystyle \frac{2^{a+1}}{z-2^a}

I think we need somebody else, who can look at everything from other perspective.

gcd(a,b)=gcd(a,b-a)
Yes, but it's just slower way to do this. Dividing is just much faster.
(edited 12 years ago)
Reply 44
Original post by Dog4444
z2a+2a+1z2a\displaystyle \frac{z-2^a+2^{a+1}}{z-2^a} remainder is 2a+1z2a\displaystyle \frac{2^{a+1}}{z-2^a}

I think we need somebody else, who can look at everything from other perspective.

gcd(a,b)=gcd(a,b-a)
Yes, but it's just slower way to do this. Dividing is just much faster.


Here is your full solution OP. AFter the fact that x and y must be even.




we start off with (***) 22a+32b=z22^{2a}+3^{2b}=z^2


[br]22a+32b=z222a=(z3b)(z+3b)[br]2^{2a}+3^{2b}=z^2 \Rightarrow 2^{2a}=(z-3^b)(z+3^b) \Rightarrow For some integer g, we may write:

[br](1):z3b=22a/g[br](2):z+3b=g[br][br](1): z - 3^b=2^{2a}/g [br](2): z + 3^b=g [br]

But note from the first equation g must be of the form 2^m, otherwise the rhs a fraction, so we write

[br](1):z3b=22am[br](2):z+3b=2m[br](1): z - 3^b=2^{2a-m} [br](2): z + 3^b=2^{m} Note also that for a bit later: m2amm \geq 2a-m


[br](2)(1)2m22am=23b[br](2)-(1)\Rightarrow 2^{m}-2^{2a-m}=2 \cdot 3^{b} And Dividing by 2 yields.

():2m122am1=3b (*): 2^{m-1}-2^{2a-m-1}= 3^{b}


The RHS is always odd . So the LHS must be Odd.
Note the LHS is odd as long as exactly one of m1m-1 or 2am12a-m-1 is 0. As m2am m \geq 2a-m , it must be the case that 2am1=02a-m-1=0

2am1=0m=2a12a-m-1=0 \Rightarrow m=2a-1

Thus subbing for m in (*) , (*)becomes

3b=22a2132b=(22a21)2 3^{b}= 2^{2a-2}-1\Rightarrow 3^{2b}=(2^{2a-2}-1)^2 !!!!!!!!!!!






Going back to (***)


[br]22a+32b=z232b=(z2a)(z+2a)[br]2^{2a}+3^{2b}=z^2 \Rightarrow 3^{2b}=(z-2^a)(z+2^a) \Rightarrow for some integer h we may write
[br](1):z2a=32b/h[br](2):z+2a=h[br][br](1): z - 2^a= 3^{2b}/h [br](2): z + 2^a=h [br]
But note h must be of the form h=2^K, otherwise we get the rhs of (1) being a fraction.

[br](1):z2a=32bk[br](2):z+2a=3k[br][br](1): z - 2^a=3^{2b-k} [br](2): z + 2^a=3^k [br]
Note therefore that: k2bkk \geq 2b-k

[br](2)(1)3k32bk=2a+1[br](2)-(1)\Rightarrow 3^{k}-3^{2b-k}=2^{a+1} And If the 2b-k>0 then the lhs is divisible by 3 but the rhs is not. Hence 2bk=0 2b-k=0

Subbing for k in (2)(1)32b1=2a+132b=1+2a+1 (2)-(1) \Rightarrow 3^{2b}-1=2^{a+1}\Rightarrow 3^{2b}=1+2^{a+1}

Combining this equation with the one marked !!!!!!!!!!!!! we get



32b=(22a21)2=1+2a+1[br]24a422a1+1=1+2a+123a42a1=2[br] 3^{2b}=(2^{2a-2}-1)^2=1+2^{a+1}\Rightarrow[br]2^{4a-4}-2^{2a-1}+1=1+2^{a+1}\Rightarrow 2^{3a-4}-2^{a-1}=2[br]

Clearly a=2 is a solution. However, there are obviously no further solutions, quite simply from the fact that beyond a =2, 23a4 2^{3a-4} grows faster than 2a1 2^{a-1} And so the function 23a42a1 2^{3a-4}-2^{a-1} is always increasing and gets much larger than 2.
At a=2, we have from (*) 3b=22a213b=3b=13^{b}= 2^{2a-2}-1 \Rightarrow 3^{b}=3 \Rightarrow b=1 Finally we plug this into the first equation to verify that 22a+32b=z22^{2a}+3^{2b}=z^2. Clearly 24+32=522^{4}+3^{2}=5^2


Only one further solution. We are done OP. Bullyacha.
(edited 12 years ago)
Reply 45
Original post by Blutooth
...


Seems fine to me. But I'm still not sure my gcd is wrong, at least I couldn't find a contradiction after putting some numbers in calculator.
Thanks, anyway.
Reply 46
Original post by Dog4444
z2a+2a+1z2a\displaystyle \frac{z-2^a+2^{a+1}}{z-2^a} remainder is 2a+1z2a\displaystyle \frac{2^{a+1}}{z-2^a}

I think we need somebody else, who can look at everything from other perspective.

gcd(a,b)=gcd(a,b-a)
Yes, but it's just slower way to do this. Dividing is just much faster.


There is nothing wrong with this line. Your GCD method is fine, except for the last assertion that you make where you declare the gcd is 1. That is not the casegcd(z2a,2a+1) gcd(z-2^a, 2^{a+1}) is 1 for all values of z, it may be 1 for some values of z. In fact the only values of z which will not make the gcd 1 are where z is an odd number. try a value of z that is a mutiple of 2.

Remember that the gcd is the greatest common factor of 2 numbers ie 2^(a+1)-2^(a) has a factor of 2^a.
(edited 12 years ago)
Reply 47
Original post by Blutooth
There is nothing wrong with this line. Your GCD method is fine, except for the last assertion that you make where you declare the gcd is 1. That is not the casegcd(z2a,2a+1) gcd(z-2^a, 2^{a+1}) is 1 for all values of z, it may be 1 for some values of z. In fact the only values of z which will not make the gcd 1 are where z is an odd number. try a value of z that is a mutiple of 2.

Remember that the gcd is the greatest common factor of 2 numbers ie 2^(a+1)-2^(a) has a factor of 2^a.


I suggest you wanted to write gcd will be 1 when z is odd? Well, z is always odd, isn't it? That's why it's 1. :confused:
Reply 48
Original post by Dog4444
I suggest you wanted to write gcd will be 1 when z is odd? Well, z is always odd, isn't it? That's why it's 1. :confused:


****, I missed the z is odd in your solution. Sorry, never mind.

Quick Reply

Latest