How Does the Euclidean Algorithm Scale with Multiplication Factors?

Click For Summary
SUMMARY

The discussion centers on the Euclidean algorithm's efficiency in calculating the greatest common divisor (gcd) when multiplication factors are involved. It establishes that the number of steps required to compute gcd(km, kn) is identical to that of gcd(m, n), based on the property gcd(ka, kb) = |k|gcd(a, b). By applying the Euclidean algorithm to gcd(a, b) and multiplying each step by |k|, the validity of the sequence of divisions is confirmed, leading to the conclusion that the step count remains unchanged.

PREREQUISITES
  • Understanding of the Euclidean algorithm
  • Familiarity with the concept of greatest common divisor (gcd)
  • Basic knowledge of multiplication factors in number theory
  • Ability to follow mathematical proofs and sequences
NEXT STEPS
  • Study the properties of gcd, specifically gcd(ka, kb) = |k|gcd(a, b)
  • Explore the mathematical proof of the Euclidean algorithm
  • Learn about the efficiency of the Euclidean algorithm in various contexts
  • Investigate applications of gcd in computational algorithms
USEFUL FOR

Mathematicians, computer scientists, and students studying number theory or algorithm efficiency, particularly those interested in the properties of the Euclidean algorithm and gcd calculations.

hilly1
Messages
1
Reaction score
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
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.
 

Similar threads

  • · Replies 13 ·
Replies
13
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
8K
  • · Replies 7 ·
Replies
7
Views
9K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 10 ·
Replies
10
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K