Coding, Linux, Hacking Security, Learning!
How to prove Eculidean algorithm
a, b in Z, and p is prime
if p | ab
=> p | a or p | b
proof by contradiction:
assume p is not divided by a and p is not divided by b
p | ab => gcd(p, a) = 1 => xp + ya = 1 such that there exists x, y in Z(Eculidan algorithm)
since xp + ya = 1 => b(xp + ya) = b => bxp + bya = b
since a | ab = > p | bya and p | bxp
=> p | (bxp + bya) => p | b
that contradict to our assumption
| Print article | This entry was posted by admin on June 26, 2010 at 9:04 pm, and is filed under Abstract Algebra. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |