Purchase Solution

Extended Euclidian Algorithm Proofs

Not what you're looking for?

Ask Custom Question

(See attached file for full problem description)

---
Given positive integers a and b, the extended Euclidian algorithm constructs sequences qn, rn, sn and tn, which are defined recursively as follows:

q0=0, q1=0, qn= q└ rn-2/ rn-1 ┘ for n>=2;
r0=a, r1=b, rn= rn-2 - qnrn-1 for n>=2;
s0=1, s1=0, sn= sn-2 - qnsn-1 for n>=2;
t0=0, t1=1, tn= tn-2 - qntn-1 for n>=2;

the sequences terminating if rn=0 . Prove the following

i) The extended Euclidian algorithm always terminates, i.e., there exists n>=2 such that rn=0
(hint : first show that if k>0 and rk>0 then 0<= rk+1<rk.)
ii) If 0<=k<=n then ska+tkb = rk.
iii) If 1<=k<=n then gcd(rk-1,rk) = gcd(a,b).
iv) rn-1= sn-1a+tn-1b= gcd(a,b)
---

Attachments
Purchase this Solution

Solution Summary

Extended Euclidian Algorithm Proofs are provided. The solution is detailed and well presented.

Solution Preview

Please see the attached file for the complete solution.
Thanks for using BrainMass.

Proof:
a) For , we have , where means the greatest integer less than or equal to ...

Purchase this Solution


Free BrainMass Quizzes
Graphs and Functions

This quiz helps you easily identify a function and test your understanding of ranges, domains , function inverses and transformations.

Geometry - Real Life Application Problems

Understanding of how geometry applies to in real-world contexts

Know Your Linear Equations

Each question is a choice-summary multiple choice question that will present you with a linear equation and then make 4 statements about that equation. You must determine which of the 4 statements are true (if any) in regards to the equation.

Exponential Expressions

In this quiz, you will have a chance to practice basic terminology of exponential expressions and how to evaluate them.

Multiplying Complex Numbers

This is a short quiz to check your understanding of multiplication of complex numbers in rectangular form.