{"title":"关于欧几里得算法中除法步骤数的注释","authors":"S. Abramov","doi":"10.1145/377626.377629","DOIUrl":null,"url":null,"abstract":"Let w be a natural number and let #(w) be the maximal number of divisions that the Euclidean algorithm, ao = qlal+a2 , al ~ q2a2+a3 , ak-2 = qk-lak-l+ak , ak-1 = qkak, (1) needs for a given input (ao, al), where a0 > al = w. Lamd's theorem [2, 1] (this theorem was proved earlier by Finck in 1841 [1]) implies the asymptotic estimate u(~) = O(log w), (2) and log w cannot be replaced by any function h(w) such that h(w) = o(logw), since, if Fo, F1,... is the Fibonacci sequence, for ao = Fk+2, w = at = Fk+x the number of divisions is equal to k. The difference between the latter number and log s w, where ¢ = (1 + z/g)/2, is a bounded value. One of the results related to the average case behavior of the Euclidean algorithm is by Heilbronn [4, 1]: 1 ~ E(v,~) ~ 121n-Aln. ~(v) ~r~ ' l~w~v gcd(v,w)=l where E(v,w) is the number of division steps performed by the Euclidean algorithm on the input (v, w). From this asymptotic equality it follows that for some constant C the inequality 12 In 2 ~(w)> ~ lnw+C (3) holds. Using the standard notation f(n) = O(g(n)), which is defined for functions f(n), g(n) with positive values by f(n) = O(g(n)) if and only if 3cl,c2,no>0, Vn>no, clg(n)~f(n)gc2g(n), we therefore have Theorem 1 #(w) = O(logw). We now prove the following main theorem. Notice that (121n2)/~r 2 < 1/(21n¢), and (4) is stronger than (3) for all large enough w. Additionally, the proof of Theorem 2, which will be given, is elementary and thereby we get an elementary proof of Theorem 1. We start with a lemma on Fibonacci numbers. Lemma 1 For any 0 < d < ~/g, the inequality IF.+1 _¢ < 1 dF~ (5) holds for all large enough n.","PeriodicalId":314801,"journal":{"name":"SIGSAM Bull.","volume":"46 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2000-12-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":"{\"title\":\"A note on the number of division steps in the Euclidean algorithm\",\"authors\":\"S. Abramov\",\"doi\":\"10.1145/377626.377629\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Let w be a natural number and let #(w) be the maximal number of divisions that the Euclidean algorithm, ao = qlal+a2 , al ~ q2a2+a3 , ak-2 = qk-lak-l+ak , ak-1 = qkak, (1) needs for a given input (ao, al), where a0 > al = w. Lamd's theorem [2, 1] (this theorem was proved earlier by Finck in 1841 [1]) implies the asymptotic estimate u(~) = O(log w), (2) and log w cannot be replaced by any function h(w) such that h(w) = o(logw), since, if Fo, F1,... is the Fibonacci sequence, for ao = Fk+2, w = at = Fk+x the number of divisions is equal to k. The difference between the latter number and log s w, where ¢ = (1 + z/g)/2, is a bounded value. One of the results related to the average case behavior of the Euclidean algorithm is by Heilbronn [4, 1]: 1 ~ E(v,~) ~ 121n-Aln. ~(v) ~r~ ' l~w~v gcd(v,w)=l where E(v,w) is the number of division steps performed by the Euclidean algorithm on the input (v, w). From this asymptotic equality it follows that for some constant C the inequality 12 In 2 ~(w)> ~ lnw+C (3) holds. Using the standard notation f(n) = O(g(n)), which is defined for functions f(n), g(n) with positive values by f(n) = O(g(n)) if and only if 3cl,c2,no>0, Vn>no, clg(n)~f(n)gc2g(n), we therefore have Theorem 1 #(w) = O(logw). We now prove the following main theorem. Notice that (121n2)/~r 2 < 1/(21n¢), and (4) is stronger than (3) for all large enough w. Additionally, the proof of Theorem 2, which will be given, is elementary and thereby we get an elementary proof of Theorem 1. We start with a lemma on Fibonacci numbers. Lemma 1 For any 0 < d < ~/g, the inequality IF.+1 _¢ < 1 dF~ (5) holds for all large enough n.\",\"PeriodicalId\":314801,\"journal\":{\"name\":\"SIGSAM Bull.\",\"volume\":\"46 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2000-12-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"1\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"SIGSAM Bull.\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1145/377626.377629\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"SIGSAM Bull.","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/377626.377629","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1
摘要
让w是一个自然数,让# (w)的最大数量的分歧欧几里得算法,ao = qlal + a2,艾尔~ q2a2 + a3, ak-2 = qk-lak-l + ak, ak-1 = qkak,(1)需要为给定的输入(ao,半岛)、a0 > al = w。Lamd定理(2,1)(这个定理被证明在1841年早些时候Finck[1])暗示了渐近估计u (~) = O (log w),(2)和日志w不能取代任何函数h (w), h (w) = O (logw),因为,如果佛,F1,……为斐波那契数列,对于ao = Fk+2, w = at = Fk+x,除法的次数等于k。后一个数字与logs w(其中¢= (1 + z/g)/2)之间的差是有界值。Heilbronn[4,1]给出了与欧几里得算法的平均情况行为有关的一个结果:1 ~ E(v,~) ~ 121n-Aln。~(v) ~r~ ' l~w~v gcd(v,w)=l,其中E(v,w)是欧几里得算法对输入(v,w)进行除法的步数。由这个渐近等式可以得出,对于某常数C,不等式12 In 2 ~(w)> ~ lnw+C(3)成立。利用f(n) = O(g(n))的标准符号,当且仅当3cl,c2,no>0, Vn>no, clg(n)~f(n)gc2g(n)时,f(n) = O(g(n))为正值的函数f(n), f(n) = O(g(n)),我们得到定理1 #(w) = O(logw)。现在我们证明下面的主要定理。注意(121n2)/~r 2 < 1/(21n¢),和(4)对于所有足够大的w都比(3)强。另外,定理2的证明是初等的,因此我们得到定理1的初等证明。我们从斐波那契数列的引理开始。引理1对于任意0 < d < ~/g,不等式IF。+1 _¢< 1 dF~(5)适用于所有足够大的n。
A note on the number of division steps in the Euclidean algorithm
Let w be a natural number and let #(w) be the maximal number of divisions that the Euclidean algorithm, ao = qlal+a2 , al ~ q2a2+a3 , ak-2 = qk-lak-l+ak , ak-1 = qkak, (1) needs for a given input (ao, al), where a0 > al = w. Lamd's theorem [2, 1] (this theorem was proved earlier by Finck in 1841 [1]) implies the asymptotic estimate u(~) = O(log w), (2) and log w cannot be replaced by any function h(w) such that h(w) = o(logw), since, if Fo, F1,... is the Fibonacci sequence, for ao = Fk+2, w = at = Fk+x the number of divisions is equal to k. The difference between the latter number and log s w, where ¢ = (1 + z/g)/2, is a bounded value. One of the results related to the average case behavior of the Euclidean algorithm is by Heilbronn [4, 1]: 1 ~ E(v,~) ~ 121n-Aln. ~(v) ~r~ ' l~w~v gcd(v,w)=l where E(v,w) is the number of division steps performed by the Euclidean algorithm on the input (v, w). From this asymptotic equality it follows that for some constant C the inequality 12 In 2 ~(w)> ~ lnw+C (3) holds. Using the standard notation f(n) = O(g(n)), which is defined for functions f(n), g(n) with positive values by f(n) = O(g(n)) if and only if 3cl,c2,no>0, Vn>no, clg(n)~f(n)gc2g(n), we therefore have Theorem 1 #(w) = O(logw). We now prove the following main theorem. Notice that (121n2)/~r 2 < 1/(21n¢), and (4) is stronger than (3) for all large enough w. Additionally, the proof of Theorem 2, which will be given, is elementary and thereby we get an elementary proof of Theorem 1. We start with a lemma on Fibonacci numbers. Lemma 1 For any 0 < d < ~/g, the inequality IF.+1 _¢ < 1 dF~ (5) holds for all large enough n.