Wednesday, 18 February 2015

Proof Involving Modular Arithmetic and Fermat's Theorem



I'm trying, but struggling, to prove this statement about congruences. The title is perhaps uniformative, which I apologize for, so feel free to edit or comment if you have a better description.



Theorem: Let p and r be distinct primes greater than 2. Then, pr1+rp11 (mod pr).



Here's my best attempt at a proof. It doesn't get 'prove' it, but rather gives a string of facts I was able to piece together which, unless I missed something important, may be sufficient to write the proof, but I'm struggling to piece them together correctly.




Proof Attempt:



Since p and r are prime, it's clear that they are relatively prime to one another, so gcd(p,r)=1. Thus, we are free to leverage faremont's theorem in considering pr1 and rp1.



From pr1, that p and r are relatively prime tells us that pr11 (mod r). Similarly, we have rp11 (mod p).



Now, by definition, we have, taking p and r as fixed:
pr11 (mod r)aZ,pr11=ar


and
rp11 (mod p)bZ,qr11=bp

So, now I can't quite figure out how to string these together. We could add the two equations so that we have pr1+rp1 on the same side of an equation, but then we have a 2 term that we can't quite eliminate, nor we can we factor out pr from the right-hand side of the equation, though we can factor out a p from one term and an r from another. The only other thing that occurred to me was that p and r being relatively prime implies invertibility. Similarly, that they have a gcd of 1 means that we can write 1 as a linear combination of p and r with integer coefficients, but that still didn't quite help with factoring out a pr from the right-hand side, even if it seems to isolate pr1+rp11 on one side of the equation.



I'd greatly appreciate any helpful comments or hints. I'd really like to figure as much of this out myself, as I'd like to think I'm reasonably close, so any guidance in the right direction is especially appreciated. I'll edit this question later, hopefully with an updated, correct proof of this and credit whoever provided any thoughts.



Thanks.



Answer



Are you familiar with the property



ab(modm1)



ab(modm2)





ab(modmn)




ab(modlcm(m1,m2,,mn))?



If not, try to prove it! This gives a direct solution to the problem you're facing. And I believe p and r must be distinct in order for this solution to work. Otherwise, I'm pretty sure pr1+rp12pp101(modp2).


No comments:

Post a Comment

real analysis - How to find limhrightarrow0fracsin(ha)h

How to find limh0sin(ha)h without lhopital rule? I know when I use lhopital I easy get $$ \lim_{h\rightarrow 0}...