Lamé’s Theorem
Script error: No such module "AfC submission catcheck".
Lamé's Theorem is the result of Gabriel Lamé's analysis of the complexity of Euclidean algorithm. Using Fibonacci numbers, he proved in 1844[1][2] that when looking for the greatest common divisor (GCD) of two integers a and b, the algorithm finishes in at most 5k steps, where k is the number of digits (decimal) of b.[3][4]
Statement[edit]
The number of division steps in Euclid's algorithm with entries and is less than times the number of decimal digits of .
Demonstration[edit]
Given as integer and positive entries in Euclid's algorithm. Then:
And considering the Fibonacci sequence given by the recurrence law
we have and , i. e., and . So, in general, for so that by taking , .
Considering the golden ratio we observe that
As implies , it follows
from which
Besides, utilizing a calculator or other approximation method, one concludes that
and, so,
Given the number of digits of and the of 10, we have
from which implies . Therefore, .
The Lamé's Theorem is thus demonstrated.
See also[edit]
References[edit]
- ↑ Lamé, Gabriel (1844). "Note sur la limite du nombre des divisions dans la recherche du plus grand commun diviseur entre deux nombres entiers". Comptes rendus des séances du l'Académie des Sciences (in French). 19: 867–870.CS1 maint: Unrecognized language (link)
- ↑ Shallit, Jeffrey (1994-11-01). "Origins of the analysis of the Euclidean algorithm". Historia Mathematica. 21 (4): 401–419. doi:10.1006/hmat.1994.1031. ISSN 0315-0860.
- ↑ Weisstein, Eric W. "Lamé's Theorem". mathworld.wolfram.com. Retrieved 2023-05-09.
- ↑ "Lame's Theorem - First Application of Fibonacci Numbers". www.cut-the-knot.org. Retrieved 2023-05-09.
Bibliography[edit]
- Bach, Eric (1996). Algorithmic number theory. Jeffrey Outlaw Shallit. Cambridge, Mass.: MIT Press. ISBN 0-262-02405-5. OCLC 33164327
- Carvalho, João Bosco Pitombeira de (1993). Olhando mais de cima: Euclides, Fibonacci e Lamé. Revista do Professor de Matemática, São Paulo, n. 24, p.32-40, 2 sem.
This mathematics-related article is a stub. You can help EverybodyWiki by expanding it. |
This article "Lamé’s Theorem" is from Wikipedia. The list of its authors can be seen in its historical and/or the page Edithistory:Lamé’s Theorem. Articles copied from Draft Namespace on Wikipedia could be seen on the Draft Namespace of Wikipedia and not main one.