Euclidean algorithm Proof

In summary, the Euclidean algorithm proof is a mathematical proof that demonstrates the validity of the Euclidean algorithm for finding the greatest common divisor (GCD) of two integers. It works by repeatedly dividing the larger number by the smaller number and using the remainder as the new smaller number in the next iteration. The proof is significant because it provides an efficient method for finding the GCD and is the basis for other important algorithms. It assumes positive integers and the GCD being a common divisor, and has limitations for finding the GCD of more than two integers or numbers that are not integers.
  • #1
hilly1
1
0
Prove that the number of steps of the euclidean algorithm needed to find gcd(km,kn) is exactly the same as the number of steps needed to find gcd(m,n).

any help on this would be appreciated. I'm really lost.
 
Physics news on Phys.org
  • #2
This a consequence of gcd(ka,kb) = |k|gcd(a,b); after applying the euclidean algorithm to gcd(a,b), multiply each of the lines by |k|, and check that this is a valid sequence of divisions (that is, |k|ri is a valid remainder for each of the divisions). The result follows immediately.
 

What is the Euclidean algorithm proof?

The Euclidean algorithm proof is a mathematical proof that demonstrates the validity of the Euclidean algorithm for finding the greatest common divisor (GCD) of two integers. It shows that the Euclidean algorithm will always terminate with the correct GCD, regardless of the order of the numbers or their size.

How does the Euclidean algorithm work?

The Euclidean algorithm works by repeatedly dividing the larger number by the smaller number and using the remainder as the new smaller number in the next iteration. This process continues until the remainder becomes 0, at which point the previous remainder is the GCD of the original two numbers.

What is the significance of the Euclidean algorithm proof?

The Euclidean algorithm proof is significant because it provides a rigorous and efficient method for finding the GCD of two numbers. It is also the basis for other important algorithms in number theory and cryptography.

What are the assumptions made in the Euclidean algorithm proof?

The Euclidean algorithm proof assumes that the numbers being used are positive integers. It also assumes that the GCD of the two numbers is a common divisor of both numbers.

Are there any limitations to the Euclidean algorithm proof?

The Euclidean algorithm proof is limited to finding the GCD of two numbers. It cannot be used for finding the GCD of more than two numbers. It also does not work for numbers that are not integers, such as fractions or decimals.

Similar threads

  • Calculus and Beyond Homework Help
Replies
13
Views
714
  • Linear and Abstract Algebra
Replies
3
Views
1K
  • Linear and Abstract Algebra
Replies
6
Views
6K
  • Calculus and Beyond Homework Help
Replies
4
Views
1K
  • Calculus and Beyond Homework Help
Replies
19
Views
2K
  • Set Theory, Logic, Probability, Statistics
Replies
3
Views
1K
  • Calculus and Beyond Homework Help
Replies
1
Views
1K
  • Linear and Abstract Algebra
Replies
1
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
1K
Replies
3
Views
1K
Back
Top