Math Help Forum

Math Help Forum Feed Site Feed

Go Back   Math Help Forum > University Math Help > Number theory
Reply
 
Thread Tools Display Modes
  #1  
Old November 18th, 2009, 10:17 AM
Junior Member
 
Join Date: Oct 2008
Posts: 52
Country:
Thanks: 21
Thanked 0 Times in 0 Posts
harkapobi is on a distinguished road
Default Congruence Problem

Hi, I need to solve this congruence.

7^x \equiv 6 (mod17)

In the question, it has a squiggly line at the top of the congruence sign, but i'm not sure what that means .

I know this questions probably has something to do with primitive roots, but I really dont know how to start.

Please help.
Katy
Reply With Quote
Advertisement
 
  #2  
Old November 18th, 2009, 10:38 AM
Member
 
Join Date: Nov 2009
Posts: 231
Country:
Thanks: 9
Thanked 77 Times in 73 Posts
qmech will become famous soon enoughqmech will become famous soon enough
Default Brute force

Just multiply. Listing the powers of 7 mod 17 gives:
7^1 \equiv 7 (mod 17)
7^2 = 7*7 = 49 \equiv 15 (mod 17)
7^3 \equiv 7*15 \equiv 3 (mod 17)
etc. If my remainders are correct, the list of remainders with increasing powers of 7 are:
7,15,3,4,11,9,12,16,10,2,14,13,6,...,
so
7 ^ {13} \equiv 6 (mod 17)
Reply With Quote
  #3  
Old November 18th, 2009, 10:49 AM
Junior Member
 
Join Date: Oct 2008
Posts: 52
Country:
Thanks: 21
Thanked 0 Times in 0 Posts
harkapobi is on a distinguished road
Default

Ahh ok cool. Thank you

Is this the only way of solving this congruence? What if x was really large? this could take a long time.

And do you know what the wiggley line means at the top of the congruence sign? I didn't know how to write it in the math code. lol.
Reply With Quote
  #4  
Old November 18th, 2009, 11:01 AM
Member
 
Join Date: Nov 2009
Posts: 231
Country:
Thanks: 9
Thanked 77 Times in 73 Posts
qmech will become famous soon enoughqmech will become famous soon enough
Default

A congruence sign is often written as an equals sign with a wiggly line on top of it. Another way is the 3 line equal sign you see here.

Yes, if x is large it could take a long time. However this is very simple to program onto a computer.

There are some shortcuts. For example, writing
15 \equiv {-2} (mod 17)
keeps the numbers smaller.
Reply With Quote
The following users thank qmech for this useful post:
Donate to MHF
  #5  
Old November 18th, 2009, 11:44 AM
Super Member
 
Join Date: Jan 2009
Posts: 592
Country:
Thanks: 69
Thanked 133 Times in 123 Posts
aidan will become famous soon enoughaidan will become famous soon enough
Default

Quote:
Originally Posted by harkapobi View Post
Ahh ok cool. Thank you

Is this the only way of solving this congruence? What if x was really large? this could take a long time.

And do you know what the wiggley line means at the top of the congruence sign? I didn't know how to write it in the math code. lol.
You will only have quadratic residues from 1 to 16.
They are cyclic.
Add a multiple of 16 to the x=13 above.
ALL of the residues in that quantity will be cyclic.
You then need to examine a max of 16 residues to find the result.

7^{2199485} = 7^{13} \cdot 7^{2199472} \equiv 6 \mod 17
.

Last edited by aidan; November 18th, 2009 at 12:07 PM. Reason: added example
Reply With Quote
The following users thank aidan for this useful post:
Donate to MHF
  #6  
Old November 19th, 2009, 09:14 AM
Junior Member
 
Join Date: Oct 2008
Posts: 52
Country:
Thanks: 21
Thanked 0 Times in 0 Posts
harkapobi is on a distinguished road
Default

Thanks for all the help, but is there no easier way of solving this? I have another question that is similar you see,

19^x \equiv17(mod22)

and in the question I am told that 7 is a primitive root mod 22. So i'm assuming I need to use this somehow.

Is the only way to solve this trial and error like above?
Reply With Quote
  #7  
Old November 19th, 2009, 10:17 AM
Member
 
Join Date: Nov 2009
Posts: 231
Country:
Thanks: 9
Thanked 77 Times in 73 Posts
qmech will become famous soon enoughqmech will become famous soon enough
Default One shortcut

I'd also like to learn how to use a primitive root to help this calculation.

However, your problem is really simple. Note 19 = -3(22) and 17 = -5(22). The powers of -3 are -3, 9, -27. Note -27 = -5(22). So your x=3.
Reply With Quote
Reply

Tags
congruence, primitive roots

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -7. The time now is 11:28 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc.
©2005 - 2009 Math Help Forum


Math Help Forum is a community of maths forums with an emphasis on maths help in all levels of mathematics.
Register to post your math questions or just hang out and try some of our math games or visit the arcade.