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 December 30th, 2008, 12:14 PM
Newbie
 
Join Date: Dec 2008
Posts: 12
Country:
Thanks: 8
Thanked 0 Times in 0 Posts
sheep99 is on a distinguished road
Default modular arithmetic, euclid

using euclids algorithm compute the sum 8/122 + 11/328.
i missed the lecture so i dnt have a clue but theres 2 methods to do this i think.i dont know what the lecturer meant by using ' / '

does this mean 8mod122 + 11mod328
duno how id approach this i thought its possible to say.
8mod122=130 , 11mod328=339. 130 + 339 =469 looks very wrong.
help?lol.
Reply With Quote
Advertisement
 
  #2  
Old December 30th, 2008, 01:03 PM
Super Member
 
Join Date: Dec 2008
Location: Scotland
Posts: 863
Country:
Thanks: 6
Thanked 341 Times in 319 Posts
Mush is a jewel in the roughMush is a jewel in the roughMush is a jewel in the roughMush is a jewel in the rough
Default

Quote:
Originally Posted by sheep99 View Post
using euclids algorithm compute the sum 8/122 + 11/328.
i missed the lecture so i dnt have a clue but theres 2 methods to do this i think.i dont know what the lecturer meant by using ' / '

does this mean 8mod122 + 11mod328
duno how id approach this i thought its possible to say.
8mod122=130 , 11mod328=339. 130 + 339 =469 looks very wrong.
help?lol.
Useless post, sorry.

Last edited by Mush; December 30th, 2008 at 01:04 PM. Reason: SEe above.
Reply With Quote
  #3  
Old December 30th, 2008, 10:22 PM
Senior Member
 
Join Date: Dec 2007
Location: Melbourne
Posts: 420
Country:
Thanks: 54
Thanked 143 Times in 134 Posts
badgerigar has a spectacular aura aboutbadgerigar has a spectacular aura about
Default

Quote:
does this mean 8mod122 + 11mod328
You can't add numbers modulo different numbers.

Quote:
using euclids algorithm compute the sum 8/122 + 11/328.
I think the notation is probably meant to mean 8 divided by 122 + 11 divided by 328. The Euclidean algorithm can be used to find the lowest common multiple of 122 and 328.
Notations for the algorithm sometimes differ, but I do mine like this.

328-2\times122 = 84
122-1\times 84 = 38
84-2\times 38 = 8
38-4\times 8 = 6
8-1\times 6 = 2
6-3\times 2 = 0
So 2 is the highest common factor.
What is happening here is on each step we have a-n\times b = c.
a and b are known, so we find n as the largest integer so that a-nb is positive and c as a-nb. Then we use b for the new a and c for the new b and repeat until we get 0. The highest common factor is then the value for b in the last step.
The lowest common multiple is then \frac{122\times328}{2} , and I am sure that you know how to add fractions from this point on.
Reply With Quote
The following users thank badgerigar for this useful post:
Donate to MHF
Reply

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 09:54 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, 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.