1
   

Challenge Proof for the Best!

 
 
RK4
 
Reply Tue 18 Oct, 2005 10:54 pm
Hi all! This was given as a challenge proof:

Show that if a^k is congruent to b^k (mod m) and a^(k+1) is congruent to b^(k+1) (mod m), where a, b, k, and m are integers with k > 0 and
m > 0 such that gcd(a,m) = 1, then a is congruent to b (mod m). If the condition gcd(a,m) = 1 is dropped, is the conclusion that a is congruent to b (mod m) still valid?
  • Topic Stats
  • Top Replies
  • Link to this Topic
Type: Discussion • Score: 1 • Views: 1,078 • Replies: 6
No top replies

 
raprap
 
  1  
Reply Wed 19 Oct, 2005 09:33 am
if a^k=b^kmod(n)
then a=bmod(n)
a^(k+1)=a*a^k
then a^(k+1)=bmod(n)b^kmod(n)=b^(k+1)mod(n)

Rap
0 Replies
 
engineer
 
  1  
Reply Wed 19 Oct, 2005 09:36 am
If I'm reading this correctly, this one is not that hard. Are you sure you want the answer? It's not too late to turn away...


Given that a^(k+1) (mod m) = b^(k+1) (mod m) then a*a^k (mod m) = b*b^k (mod m).
a (mod m) * a^k (mod m) = b (mod m) * b^k (mod m)
But we are also given that a^k (mod m) = b^k (mod m) therefore, if a^k (mod m)>0, then a (mod m)=b (mod m)

The gcd(a,m)=1 requirement ensures that a (mod m) > 0. If you remove that requirement, then the proof is invalid since if a^k (mod m) = 0, then the relationship between a and b is not defined. You can see this using a=4, b=6, k=3 and m=8. 4^3 mod 8 = 0. 6^3 mod 8=0. 4^4 and 6^4 mod 8 are also zero, but 4 mod 8 does not equal 6 mod 8.
0 Replies
 
RK4
 
  1  
Reply Wed 19 Oct, 2005 01:26 pm
Oh God! This is so trivial. I guess this was given to us to prove how complicated our minds are. Just because of the fact that this was given as a challenge I was using all sorts of advanced techniques to do this. Thank you!
0 Replies
 
RK4
 
  1  
Reply Wed 19 Oct, 2005 11:25 pm
engineer wrote:
If I'm reading this correctly, this one is not that hard. Are you sure you want the answer? It's not too late to turn away...


Given that a^(k+1) (mod m) = b^(k+1) (mod m) then a*a^k (mod m) = b*b^k (mod m).
a (mod m) * a^k (mod m) = b (mod m) * b^k (mod m)
But we are also given that a^k (mod m) = b^k (mod m) therefore, if a^k (mod m)>0, then a (mod m)=b (mod m)

The gcd(a,m)=1 requirement ensures that a (mod m) > 0. If you remove that requirement, then the proof is invalid since if a^k (mod m) = 0, then the relationship between a and b is not defined. You can see this using a=4, b=6, k=3 and m=8. 4^3 mod 8 = 0. 6^3 mod 8=0. 4^4 and 6^4 mod 8 are also zero, but 4 mod 8 does not equal 6 mod 8.


I'm a little confused. You're using mod too many times.

I have this so far:

a^(k+1) = b^(k+1) (mod m)

a * a^k = b * b^k (mod m)

Now what?

Does this imply that a = b (mod m) since a^k = b^k (mod m)?

Please advise. Thanks!
0 Replies
 
engineer
 
  1  
Reply Thu 20 Oct, 2005 07:07 am
I jumped a little ahead on you. If A and B are congruent mod m, then you can show from the defininition of congruent that A mod m = B mod m. That is where all the mods come from. Your first line:

a^(k+1) = b^(k+1) (mod m)

should really be

a^(k+1) is congruent to b^(k+1) (mod m) therefore
a^(k+1) (mod m) = b^(k+1) (mod m)
0 Replies
 
RK4
 
  1  
Reply Fri 21 Oct, 2005 02:20 pm
Yup, finally I figured that out. Thanks!
0 Replies
 
 

Related Topics

Evolution 101 - Discussion by gungasnake
Typing Equations on a PC - Discussion by Brandon9000
The Future of Artificial Intelligence - Discussion by Brandon9000
The well known Mind vs Brain. - Discussion by crayon851
Scientists Offer Proof of 'Dark Matter' - Discussion by oralloy
Blue Saturn - Discussion by oralloy
Bald Eagle-DDT Myth Still Flying High - Discussion by gungasnake
DDT: A Weapon of Mass Survival - Discussion by gungasnake
 
  1. Forums
  2. » Challenge Proof for the Best!
Copyright © 2024 MadLab, LLC :: Terms of Service :: Privacy Policy :: Page generated in 0.04 seconds on 06/22/2024 at 09:23:58