{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

lightning-bolt

# lightning-bolt - Euclidean algorithm in Lightning-Bolt form...

This preview shows pages 1–2. Sign up to view the full content.

Euclidean algorithm in Lightning-Bolt form Jonathan L.F. King University of Florida, Gainesville FL 32611-2082, USA [email protected] Webpage http://www.math.ufl.edu/ squash/ 8 January, 2011 (at 20:49 ) The Euclidean algorithm, EU , is often presented by a series of equations. I have found the following table-form convenient, both because it organises the computation, and gives a name to each number in the table. Because the update-rule follows the shape of a lightning-bolt, I call it the LBolt algorithm. Henceforth, all variables are integers unless explic- itly stated otherwise. Given integers r 0 and r 1 ( for the time being, assume each is positive ) we will compute G := Gcd( r 0 , r 1 ) as well as a pair S,T of ezout multipliers satisfying G = S · r 0 + T · r 1 . 1 : [ There is a one-parameter family of B´ ezout-pairs; the alg will compute a particular pair. ] I’ll explain via an example. Suppose we want the Gcd of r 0 := 114 and r 1 := 33. Then initialize the table as: n r n q n s n t n 0 114 1 0 1 33 0 1 In order to compute a BP ( ezout-Pair ), we’ll need

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern