Abstract
Authors
T. Popoviciu
Institutul de Calcul
Keywords
?
Paper coordinates
T. Popoviciu, Asupra aplicării algoritmului lui Euclid pentru aflarea c.m.m.d.c. a două numere, Studii și cercetări științifice (Cluj), 4 (1953) nos. 1-2, pp. 59-63 (in Romanian).
About this paper
Journal
Studii si Cercetari Stiintifice (Cluj)
Publisher Name
Academy of the Republic of S.R.
Print ISSN
Online ISSN
google scholar link
??
Paper (preprint) in HTML form
Original text
Rate this translation
Your feedback will be used to help improve Google Translate
ON THE APPLICATION OF EUCLID'S ALGORITHM TO FIND THE GCD OF TWO NUMBERS
Communication presented at the meeting of September 24, 1952 of the Cluj Branch of the RPR Academy
-
- Whether
, two natural numbers. To find their gcd, we apply Euclid's algorithm, which consists of performing successive divisions
- Whether
We can assume The floors are positive integers, and the remainders are also integers and positive and check inequalities
To find cmmdc of numbers , must, according to table (1), be carried out division ). The number of divisions can be interestingly delimited according to the smallest of the numbers and (i.e. ). We have in this regard the following well-known result: [1].
THEOREM 1. - The number of divisions that must be performed to find the gcd of two positive integers is at most equal to 5 times the number of digits of the smallest of these numbers.
A simple proof of this theorem was given by PL C eb â ş ev [2]. In the following we will show that C eb âşev's method allows us to specify Theorem 1 a little.
2. - We have and, taking into account we even deduce . Formulas (1) then give us
(2)
2. - We have
(2)
Taking into account (5) and (7) we therefore deduce
If is the number of digits of written in the base 11 number system, we have , so , that is We can, however, state the following property:
THEOREM 2. - The number of divisions that must be performed to find the common denominator of two positive integers is at most equal to 5 times the number of digits of the smallest of these numbers, written in the base 11 number system.
3. - The previous result can be generalized a little further.
3. - The previous result can be generalized a little further.
Whether a natural number and calculate on [ ], that is, the whole part of being the positive root of equation (6). It is easily proven, by complete induction, that
from where
We now have
LEM 2. - If α is the positive root of equation (6) and terms of the series (3), we have
LEM 2. - If α is the positive root of equation (6) and
(6)
Let us now consider the sequence of numbers
(3)
where the first term is equal to the sum of the two preceding terms. The sequence (3) is therefore defined by the recurrence relation.
(4)
(3)
where the first term is equal to the sum of the two preceding terms. The sequence (3) is therefore defined by the recurrence relation.
(4)
Taking into account (4) and eliminating from inequalities (2), we deduce so
(5)
(5)
This inequality delimits the depending on .
We now have the following
LEMMA 1. - If a is the positive root of the equation
HAVE
We now have the following
LEMMA 1. - If a is the positive root of the equation
HAVE
(7)
The proof is easily done by complete induction, taking into account (4).
It is easy to verify that we have
(8)
(8)
Taking into account equation (6) we deduce
and from (8) it follows that
and from (8) it follows that
THEOREM 3. - The number of divisions that must be performed to find the gcc of two positive integers is at most equal to l times the number of digits of the smallest of these numbers written in a number system with a base at most equal to the number , that the formula (11).
In this statement, we also took into account the fact that the number of digits of a number decreases when the base in which this number is written increases.
For a given the base of numeration that gives us the best limitation, according to the previous method, is precisely For is found For the first 15 values ​​of , the base the most advantageous is given in the table
| 2 | 2 | 7 | 29 | 12 | 321 |
| 3 | 4 | 8 | 46 | 13 | 521 |
| 4 | 6 | 9 | 76 | 14 | 842 |
| 5 | 11 | 10 | 122 | 15 | 1364 |
| 6 | 17 | 11 | 199 | 16 | 2205 |
Faculty of Mathematics and Physics of the "V. Babeș" University of Chuj
BIBLIOGRAPHY
- IM Vinogradov, Osnovî teorii cisel, Moskva-Leningrad, 1949, pag. 22.
- D. Seliwanoff, Textbook of Differential Calculus, 1904, pp. 91-92.
SUMMARY
On the application of Euclidean algorithm to find the greatest common divisor of two numbers
tiveriu ps covic
A little catch-up method by P. L. Chebashev for finding the pure divisions necessary to determine the greatest common divisor of two natural numbers , we note that in the classical expression in relation to the short , which must be taken, the base 10 of the numerical system can be replaced by 11. Considering a slightly more general problem, we find that base 11 is in some sense the most intuitive.
SUMMARY.
On determining the greatest common divisor (GCD) of two numbers using Euclid's algorithm.
by
TIBERIU POPOVICIU
By slightly expanding on PL Cebàşev's method for determining the number of divisions needed to obtain the greatest common divisor (GCD) of two natural numbers , We note that in the well-known statement, relating to the multiple of a that we must take, the base 10 of the number system can be replaced by 11. By examining a slightly more general problem, we find that the base 11, in a certain sense, is the best.
) His division by can be avoided if its divisibility by is immediately recognized in another way. This always happens when .
