Lamé's Theorem is the result of Gabriel Lamé's analysis of the complexity of the 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 the Euclidean algorithm with entries and is less than times the number of decimal digits of .

Proof

edit

Let be two positive integers. Applying to them the Euclidean algorithm provides two sequences and of positive integers such that, setting and one has

for and

The number n is called the number of steps of the Euclidean algorithm, since it is the number of Euclidean divisions that are performed.

The Fibonacci numbers are defined by and

for

The above relations show that and By induction,

So, if the Euclidean algorithm requires n steps, one has

One has for every integer , where is the Golden ratio. This can be proved by induction, starting with and continuing by using that

So, if n is the number of steps of the Euclidean algorithm, one has

and thus

using

If k is the number of decimal digits of , one has and So,

and, as both members of the inequality are integers,

which is exactly what Lamé's theorem asserts.

As a side result of this proof, one gets that the pairs of integers that give the maximum number of steps of the Euclidean algorithm (for a given size of ) are the pairs of consecutive Fibonacci numbers.

References

edit
  1. ^ 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 de l'Académie des Sciences (in French). 19: 867–870.
  2. ^ 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.
  3. ^ Weisstein, Eric W. "Lamé's Theorem". mathworld.wolfram.com. Retrieved 2023-05-09.
  4. ^ "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.

📚 Artikel Terkait di Wikipedia

Simon Antoine Jean L'Huilier

Mary (2024). "Simbologia matemática para o conceito de limite dos séculos XVIII ao XX". Bolema: Boletim de Educação Matemática. 38 e240137. doi:10

Onorato Nicoletti

di Pisa-Classe di Scienze 14 (1922): XI–XV. "Un teorema di limite." Annali di Matematica Pura ed Applicata 1, no. 1 (1924): 91–104. doi:10.1007/BF02409915

Gaetano Fichera

chair of mathematical analysis and then at the Istituto Nazionale di Alta Matematica in the chair of higher analysis, succeeding to Luigi Fantappiè. He retired

Mihai Biță

Soare din nori "Pasiunile înving legi" Bitză & Planet H – Eroare matematică "Limite" Bitză feat. Alan & Kepa – Ăștia Suntem "Umbre" "Mai Departe" Bitză

Federico Cafiero

During the 1939–1940 academic year, he won an "Istituto Nazionale di Alta Matematica" scholarship and went in Rome to the institute: there he followed the

Claude Chabauty

Fasc. 1), March 1979, for Chabauty's retirement Chabauty, Claude (1950). "Limite d'ensembles et géométrie des nombres". Bulletin de la Société Mathématique

Manuel Curto

TSF. 24 September 2010. Retrieved 7 January 2019. "Naval reduzida à matemática" [Naval reduced to maths] (in Portuguese). SAPO. 20 March 2011. Retrieved

Lebesgue integral

Measure Theory], (in Italian) Quaderni dell'Unione Matematica Italiana 54, Bologna: Unione Matematica Italiana, pp. XI+183, ISBN 88-371-1880-5, Zbl 1326