Preview

Euclidean algorithm

Good Essays
Open Document
Open Document
714 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Euclidean algorithm
Euclidean algorithm
In mathematics, the Euclidean algorithm, or Euclid's algorithm, is a method for computing the greatest common divisor (GCD) of two (usually positive) integers, also known as the greatest common factor (GCF) or highest common factor (HCF). It is named after the Greek mathematician Euclid, who described it in Books VII and X of his Elements.
The GCD of two positive integers is the largest integer that divides both of them without leaving a remainder (the GCD of two integers in general is defined in a more subtle way).
In its simplest form, Euclid's algorithm starts with a pair of positive integers, and forms a new pair that consists of the smaller number and the difference between the larger and smaller numbers. The process repeats until the numbers in the pair are equal. That number then is the greatest common divisor of the original pair of integers.
The main principle is that the GCD does not change if the smaller number is subtracted from the larger number. For example, the GCD of 252 and 105 is exactly the GCD of 147 (= 252 − 105) and 105. Since the larger of the two numbers is reduced, repeating this process gives successively smaller numbers, so this repetition will necessarily stop sooner or later — when the numbers are equal (if the process is attempted once more, one of the numbers will become 0).

Coprime integers
In number theory, two integers a and b are said to be relatively prime, mutually prime, or coprime (also spelled co-prime) if the only positive integer that evenly divides both of them is 1. That is, the only common positive factor of the two numbers is 1. This is equivalent to their greatest common divisor being 1. The numerator and denominator of a reduced fraction are coprime. In addition to and the notation is sometimes used to indicate that a and b are relatively prime.
For example, 14 and 15 are coprime, being commonly divisible by only 1, but 14 and 21 are not, because they are both divisible by 7. The

You May Also Find These Documents Helpful

  • Satisfactory Essays

    Nt1310 Unit 3 Maths

    • 552 Words
    • 3 Pages

    When multiplication and division is performed answers are rounded to the number of digits that corresponds to the least number of sig. figs in any of the numbers used in the calculation.…

    • 552 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    acc290 week 1

    • 2424 Words
    • 8 Pages

    For instance, a person could chose 5, and do the following 5(9x+12y) to simplify, however, because 9 and 12 can both be divided by 3, then the person has not chosen the greatest common factor between the numbers.…

    • 2424 Words
    • 8 Pages
    Good Essays
  • Satisfactory Essays

    Financial Polynominal

    • 250 Words
    • 2 Pages

    Complete problem 70 on 311 page on Elementary and Intermediate Algebra show all steps of the division then incorporate words like foil, like terms, descending order, dividend, and divisor.…

    • 250 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    MATH 156 Final Exam

    • 419 Words
    • 2 Pages

    10) If a natural number is divisible by 7, then it must also be divisible by 21.…

    • 419 Words
    • 2 Pages
    Good Essays
  • Better Essays

    Mat 126 Week 1 Assignment

    • 1084 Words
    • 5 Pages

    “An arithmetic sequence is a sequence of numbers in which each succeeding term differs from the preceding term by the same amount. This amount is known as the common difference.” (Bluman, A. G. 2500, page 221)…

    • 1084 Words
    • 5 Pages
    Better Essays
  • Good Essays

    Positive integers can be written with or without their sign. Sometimes we put a positive integer with its sign in parentheses to emphasize that it represents a positive number.…

    • 1112 Words
    • 9 Pages
    Good Essays
  • Good Essays

    Doc. Unix

    • 1228 Words
    • 5 Pages

    b. It is used to perform division on the results of a numerical command operator.…

    • 1228 Words
    • 5 Pages
    Good Essays
  • Powerful Essays

    3. Applicability. This course is intended to prepare the Marine to be proficient in common…

    • 42119 Words
    • 441 Pages
    Powerful Essays
  • Satisfactory Essays

    Ah, Wilderness

    • 356 Words
    • 2 Pages

    Arithmetic and Pre-Algebra Review • Solve all problems. • Check your answers with the key provided after the questions. • If you need help reviewing some topics, enroll in a section of TU 301 designated for use of the Math Center and get help at the Center. 1. 2. 3. 4. 5. 6. 7. Find the prime factorization of 198. Simplify 6 2 + 10 2 + 2 2 Simplify 7 ⋅ 5 + 3(5 + 3) + 2 Simplify…

    • 356 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    The "pseudocode" for such an algorithm is: while the number is bigger than one keep dividing it by two. Additionally keep a count of how many times we do the division.…

    • 391 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Mark Haddon made the chapters of this book only prime numbers instead of the traditional consecutive numbers.…

    • 381 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Apply Math

    • 2646 Words
    • 11 Pages

    Note: If the divided result is fraction, it must be round up. If it is divisibly devided, the result must always be plus 1.…

    • 2646 Words
    • 11 Pages
    Good Essays
  • Powerful Essays

    Longitudinal Study

    • 4556 Words
    • 19 Pages

    For example, most procedures for adding or subtracting multidigit numbers essentially reduce the calculation to a series of sums or differences of single-digit numbers (or corresponding multiples of 10, 100, etc.). There are, however, some fundamental differences between standard algorithms and the strategies that children construct to solve multidigit problems. Standard algorithms have evolved over centuries for efficient, accurate calculation. For the most part, these algorithms are quite far removed from their conceptual underpinnings. Invented strategies, on the other hand, generally are derived directly from the underlying multidigit concepts. For example, with standard addition and subtraction algorithms, numerals are aligned so that the ones, tens, hundreds, and larger digits can be added in columns. But in the addition of columns, no reference is made to the fact that the addition involves the same unit (ones, tens, hundreds, etc.); one simply adds numbers in a column. Most invented strategies, on the other hand, specifically label the units being combined. For example, in the above addition examples, the invented strategies are based on adding 30 and 20 or 3 tens and 2 tens rather than adding two numbers that appear in the same column.1 Sequence of Development of Major Concepts and Procedures Longitudinal…

    • 4556 Words
    • 19 Pages
    Powerful Essays
  • Satisfactory Essays

    Transitive: a = b and b = c → a = c or ∠A ∠B and ∠B ∠C → ∠A ∠C…

    • 407 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    to exploit a weakness in the encryption algorithm, or to try an exhaustive search of all…

    • 867 Words
    • 4 Pages
    Good Essays