| Thread Closed |
Modular arithmetic |
Share Thread | Thread Tools |
| Feb5-09, 05:42 AM | #1 |
|
Blog Entries: 1
|
Modular arithmetic
i might be making it up, but i am confused.
can we say: [tex]x\equiv[/tex]2 (mod k) [tex]x\equiv[/tex]2 (mod m) hence [tex]x\equiv[/tex]2 (mod km) by km i mean k multiplied by m. if not, what is the result? or can it be found? thank you in advance. |
| Feb5-09, 05:58 AM | #2 |
|
|
No.
k=4 m=8 x=10 x=2(mod 4) and x=2(mod 8) but x=10(mod 32) In general, if you have something mod m and something mod k, and want to discuss what happens mod mk, then you need a condition on m and k being coprime, or something similar. |
| Feb5-09, 06:30 AM | #3 |
|
Blog Entries: 1
|
thank you for your answer.
i think i found sth: say (k,m) = 1 x=a (mod k) x=a (mod m) x=kt+a and x=my+a kt=my t=mb y=kb then x=kmb+a x-a=kmb x-a=0 (mod km) x=a (mod km) it is valid, isnt it? any counterexamples? |
| Feb5-09, 12:33 PM | #4 |
|
|
Modular arithmetic
That looks pretty good to me
|
| Feb5-09, 02:23 PM | #6 |
|
|
Yeah, I hate when that happens!
|
| Thread Closed |
| Thread Tools | |
Similar Threads for: Modular arithmetic
|
||||
| Thread | Forum | Replies | ||
| n^2 Modular Arithmetic | Linear & Abstract Algebra | 3 | ||
| Modular Arithmetic | Calculus & Beyond Homework | 0 | ||
| Modular arithmetic | Linear & Abstract Algebra | 11 | ||
| Modular Arithmetic | Calculus & Beyond Homework | 2 | ||
| help: modular arithmetic | General Math | 17 | ||