## Some divisibility questions

Hi,

I am going through the book on number theory by ivan niven. well its tough book though, and i am stuck with problems in the first topic divisbility.Hope some help.

1. prove that a|bc if and only if a/(b,c)|c where (b,c) is the lcm of b and c.

2. Prove that there are no positive integers a,b,n>1 such that
$$(a^n-b^n)|(a^n+b^n)$$.

In the first one i have no clue how to start the proof. any hint will be appreciated.

In the second one i had the following proof:
if posssible let there be a +ve integer k such that
$$\frac{a^n-b^n}{a^n+b^n} = k$$
clearly k is not equal to 1, since then b=0 which is contradictory.
applying compodendo and dividendo to the above frac we write
(a/b)^n = (k+1)/(k-1) ---------------------------(1)
now (k+1)/(k-1) can be written as (1 + 2/(k-1) )
It can be directly checked that k=2,3 do not satisfy (1)
for k>3, (k+1)/(k-1) lies between 1 and 2 and hence cannot be a perfect nth number. this contradiction gives the desired proof.

well,are my lines of reasoning true?

Recognitions:
Gold Member
Staff Emeritus
 lies between 1 and 2 and hence cannot be a perfect nth number.
Sure it can. 121/100 is the perfect square of 11/10, for example.

 Ok, i didn't check that .Sorry, but I don't know how to attack the problem. Any hints?

Recognitions:
Homework Help

## Some divisibility questions

Rule 1: never write things like x/2 in number theory unless you know before hand that x is divisible by 2. Divisibility is not about quotients, it is about multiplication.

We may suppose that a and b are coprime, and that a^n-b^n =/=1 since n=/1. Now think about things.....

 sorry matt,I am not able to see what conclusions will i get on those assumption. a little more help, please. thanks.
 Blog Entries: 1 Recognitions: Homework Help EDIT: Never mind, I'm retarded

Recognitions:
Homework Help
 Quote by AlbertEinstein sorry matt,I am not able to see what conclusions will i get on those assumption. a little more help, please. thanks.

I wasn't expecting you to 'see' conclusions just like that. You're supposed to play around with things. Do you see that you may assume a and b are coprime irrespective of why that may be useful? Do you see that we may assume that a^n-b^n does not equal 1? Given we may assume that, what can we do that contradicts these assumptions if a^n-b^n divides a^n+b^n? (Note, this is a very useful idea in general.)

Let's try a different tack. x divides y means that hcf(x,y)=x. Remember the proof of the euclidean algorithm too. hcf(x,y)=hcf(x,x+y)=hcf(x,x-y).

 1. prove that a|bc if and only if a/(b,c)|c where (b,c) is the lcm of b and c.
This is problem 43 in chapter 1, and it actually wants you to prove that a|bc <=> a/(a, b)|c. Also, (a, b) denotes the gcd of a and b. The lcm is often written [a, b]. This problem can be solved by (for example) writing things out in terms of the prime factorizations of a, b, c.

 first of all sorry for the typo here (b,c) represents the hcf of b and c. I did the following:If a^n-b^n divides a^n+b^n then (a^n-b^n , a^n+b^n) = a^n-b^n now since (x,y)=(x,x+y)=(x,x-y) we have $$((a^n-b^n),(a^n+b^n))=((a^n-b^n),2 a^n)=((a^n-b^n),2 b^n)$$ This implies that $$a^n = m b^n$$ therefore $$\frac{a^n+b^n}{a^n-b^n} = \frac{m+1}{m-1}$$ since the last fraction is not an integer for m=/=2,3. we arrive at a contradiction. Hoping to be correct
 Recognitions: Homework Help Science Advisor Never ever write fractions like that, only ever write integers. ONly ever work in terms of things that divide some thing, never rational numbers. If p is some prime that divides a^n-b^n, and a^n+b^n, then it divides which two other things you've written there. Now, remember we can assume that a and b a coprime...

 Never ever write fractions like that, only ever write integers. ONly ever work in terms of things that divide some thing, never rational numbers.
Matt, please explain the reason for this with some more detail, I am not able to understand it.

 then it divides which two other things you've written there
Are they 2a^n and 2b^n ?

 assume that a and b a coprime...
But what if they are not co-prime?

Recognitions:
Homework Help
 Matt, please explain the reason for this with some more detail, I am not able to understand it.

Ontological commitment? That's one philosophical reaon to do this. Another is that it makes you prove things for the correct reason, rather than invoking the rational numbers for benefit what-so-ever. Divisibility is not about dividing things it is about multiplying things: x divides y means there is a z with zx=y. It is good practice, and makes you think about these things in the 'correct' way. I.e. that something is true for reasons that are apply to the objects in question, not because something is not true about some object that a priori does not exist. You are working in the integers. The rational numbers should not be something you invoke when thinking about these things. This assures us amongst other things that you are working the the right notions, and that the result applies to other situations in which it might be nonsensical to talk about rationals.

 But what if they are not co-prime?
I asked you if you understood why we may assume they are coprime, and you didn't answer.... Prove that if we can find an example, we can find an example with a,b coprime. If we can we may as well assume they are and try to get a contradiction from that assumption. Given that you can assume they are coprime, then above has shown that any prime divisor of a^n-b^n is a divisor of 2a^n and 2b^n, thus since a and b are coprime a^n-b^n equals 1 or 2, both of which are impossible: (x+1)^n => x+nx+1 just throwing away terms in the expansion. So if a^n=b^n+1 or b^n+2, then n=1 which we assumed it wasn't, thus we have finished the proof, and nowhere did I invoke the rational numbers.

 No, I didn't understand the assumption of a and b being coprime.But I understood that if they were not coprime then let a=x*a' and b=x*b' , then we can take x^n as common and then a'^n and b'^n will be coprime. Is this the reasoning behind the assumption? Please correct me. >>Prove that if we can find an example, we can find an example with a,b coprime well how do I prove this?
 >>since a and b are coprime a^n-b^n equals 1 or 2 How? >>(x+1)^n => x+nx+1 just throwing away terms in the expansion. So if a^n=b^n+1 or b^n+2, then n=1 which we assumed it wasn't I am not able to follow. Please Matt will you write the whole proof with rather more details.

Recognitions:
Homework Help
 Quote by AlbertEinstein No, I didn't understand the assumption of a and b being coprime.But I understood that if they were not coprime then let a=x*a' and b=x*b' , then we can take x^n as common and then a'^n and b'^n will be coprime. Is this the reasoning behind the assumption? Please correct me. >>Prove that if we can find an example, we can find an example with a,b coprime well how do I prove this?
You just did.

Recognitions:
Homework Help
 Quote by AlbertEinstein >>since a and b are coprime a^n-b^n equals 1 or 2 How?

because you know a^n-b^n divides both 2a^n and 2b^n, and a and b are coprime. The definition of highest common factor hcf(x,y) is that it divides x and y and evey other comon divisor of x and y divides it. Thus a^n-b^n divides the highest common factor of 2a^n and 2b^n which is 2.

 >>(x+1)^n => x+nx+1 just throwing away terms in the expansion. So if a^n=b^n+1 or b^n+2, then n=1 which we assumed it wasn't I am not able to follow. Please Matt will you write the whole proof with rather more details.
what don't you follow? The next n'th power after x^n, which is (x+1)^n is at least 3 more than x^n if n=>2?

I used:

1. binomial expansion
2. subtraction of some terms

that is all.

 Ok What I understood I will reproduce.Please look for any flaw. Without the loss of generality we can suppose that (a,b) =1. Obviously, $$a^n-b^n =/=1$$ let us assume that $$(a^n-b^n)|(a^n+b^n)$$ Then $$(a^n-b^n , a^n+b^n) = a^n-b^n$$ But since (x,y) = (x,x+y) = (x,x-y) we have, $$((a^n-b^n),(a^n+b^n))=((a^n-b^n),2 a^n)=((a^n-b^n),2 b^n)=a^n-b^n$$ Therefore $$a^n-b^n$$ must divide both 2a^n and 2b^n. Hence $$a^n = 1+b^n or 2+b^n$$ The first one contradicts our initial assumption and the second one contradicts the statement that the next n'th power after x^n, which is (x+1)^n is at least 3 more than x^n if n=>2, which is clear from binomial expansion. These contradictions establish the given theorem. If this is correct then please give some hints about the first question. Thanks JItendra