I tried using factorization of an−bn for odd n in an attempt to work through to a situation where the factors are such that they cannot have n as a factor. But I reached nowhere. Here's how I proceeded -
an−bn=(a−b)(an−1+an−2b+an−3b2+⋯+a2bn−3+abn−2+bn−1)
a-b=4 and can be ignored.
The latter term is essentially odd and not divisible by any odd number till 9 (easy to prove without getting into calculations).
However, for some arbitrary odd number x=pk where p≥11 is prime, I cannot say whether the sum of two terms is divisible by x or not when the two terms are individually not divisible by x.
Answer
This is one of my favorite number theory problems because of the neat trick below :
Assume that n is odd .
Let p be the smallest prime factor of n (it's obviously odd and can't be 3 or 7)
From Fermat's little theorem :
7^{p-1}-3^{p-1} \equiv 1-1 \equiv 0 \pmod{p}
Also you know that :
p \mid n \mid 7^n-3^n
Now I'll use a standard lemma easily provable by induction :
Lemma
If a,b,n,m are positive integers and (a,b)=1 then :
(a^n-b^n,a^m-b^m)=a^{(n,m)}-b^{(n,m)}
Use this lemma here so :
p \mid (7^{p-1}-3^{p-1},7^n-3^n)=7^{(n,p-1)}-3^{(n,p-1)}
Here comes the awesome part :
Because p is the smallest prime factor of n we must have (p-1,n)=1 .
To see this assume that there is a prime q such that q \mid n and q\mid p-1 this means that $q
(n,p-1)=1 so we can simplify :
p \mid 4 which is a contradiction because p is odd .
No comments:
Post a Comment