请输入您要查询的字词:

 

单词 Euclidean Algorithm
释义
Euclidean Algorithm

Mathematics
  • A process, based on the Division Algorithm, for finding the greatest common divisor (a, b) of two positive integers a and b. Assuming that a > b, write a = bq1 + r1, where 0 ≤ r1 < b. If r1 = 0, the gcd (a,b) is equal to b; if r1 ≠ 0, then (a,b) = (b,r1), so the step is repeated with b and r1 in place of a and b. After further repetitions, the last non‐zero remainder obtained is the required gcd. For example, for a = 1274 and b = 871, write

    1274=1×871+403,871=2×403+65,403=6×65+13,65=5×13.

    and then (1274,871) = (871,403) = (403, 65) = (65,13) = 13.

    The algorithm also enables s and t to be found such that the gcd can be expressed as sa + tb (see Bézout’s lemma). We use the previous equations in turn to express each remainder in this form. Thus,

    403=12741×871=ab, 65=8712×403=b2(ab)=3b2a,13=4036×65=(ab)6(3b2a)=13a19b.


随便看

 

科学参考收录了60776条科技类词条,基本涵盖了常见科技类参考文献及英语词汇的翻译,是科学学习和研究的有利工具。

 

Copyright © 2000-2023 Sciref.net All Rights Reserved
京ICP备2021023879号 更新时间:2024/6/30 22:04:50