Our website uses necessary cookies to enable basic functions and optional cookies to help us to enhance your user experience. Learn more about our cookie policy by clicking "Learn More".
Accept All Only Necessary Cookies
Extended Euclidean Algorithm आइकन

1.1 by gokhanku


May 14, 2016

Extended Euclidean Algorithm के बारे में

English

एल्गोरिथ्म, जो दो पूर्णांकों का सबसे बड़ा आम भाजक लगाने के लिए प्रयोग किया जाता है

The Euclidean algorithm is usually used simply to find the greatest common divisor of two integers. (For a description of this algorithm, see the notes about additional topics in number theory.) The standard Euclidean algorithm gives the greatest common divisor and nothing else. However, if we keep track of a bit more information as we go through the algorithm, we can discover how to write the greatest common divisor as an integer linear combination of the two original numbers. In other words, we can find integers s and t such that

gcd(a, b) = sa + tb.

[Note that, since gcd(a, b) is usually less than both a and b, one of s or t will usually be negative.]

As a reminder, here are the steps of the standard Euclidean algorithm to find the greatest common divisor of two positive integers a and b:

Set the value of the variable c to the larger of the two values a and b, and set d to the smaller of a and b.

Find the remainder when c is divided by d. Call this remainder r.

If r = 0, then gcd(a, b) = d. Stop.

Otherwise, use the current values of d and r as the new values of c and d, respectively, and go back to step 2.

The extended Euclidean algorithm uses the same framework, but there is a bit more bookkeeping. Before we present a formal description of the extended Euclidean algorithm, let’s work our way through an example to illustrate the main ideas.

नवीनतम संस्करण 1.1 में नया क्या है

Last updated on May 14, 2016

Minor bug fixes and improvements. Install or update to the newest version to check it out!

अनुवाद लोड हो रहा है...

अतिरिक्त ऐप जानकारी

नवीनतम संस्करण

निवेदन Extended Euclidean Algorithm अपडेट 1.1

द्वारा डाली गई

Максим Каратаев

Android ज़रूरी है

Android 4.2+

अधिक दिखाएं

Extended Euclidean Algorithm स्क्रीनशॉट

टिप्पणी लोड हो रहा है...
भाषाओं
भाषाओं
APKPure की सदस्यता लें
सर्वश्रेष्ठ एंड्रॉइड गेम और ऐप्स के शुरुआती रिलीज, समाचार और गाइड तक पहुंचने वाले पहले व्यक्ति बनें।
जी नहीं, धन्यवाद
साइन अप करें
सफलतापूर्वक सब्सक्राइब!
अब आप APKPure की सदस्यता ले रहे हैं।
APKPure की सदस्यता लें
सर्वश्रेष्ठ एंड्रॉइड गेम और ऐप्स के शुरुआती रिलीज, समाचार और गाइड तक पहुंचने वाले पहले व्यक्ति बनें।
जी नहीं, धन्यवाद
साइन अप करें
सफलता!
अब आप हमारे न्यूज़लेटर की सदस्यता ले चुके हैं।