Subject: Re: gcd
Date: Mon, 26 May 1997 07:32:48 -0400
From: Alexander Bogomolny

Ronald:

gcd stands for the "Greatest Common Divisor". Given any two integers n and m, gcd(n,m) is the largest number that divides both of them.

gcd(48, 42) = 6
gcd(100, 300) = 100
gcd(100, 325) = 25

There is the famous Euclid's algorithm for finding gcd of any two integers. It's based on the following observation: let n > m. Write

n = p*m + q.

Then any divisor of m and n also divides q. Also, any divisor of m and q also divides n. Therefore, gcd(n,m) = gcd(m,q). You can continue:

m = r*q + s and gcd(m,q) = gcd(q,s).

What's imporatnt is that m > q > s. So that sooner or later the process got to stop. The last term thus obtained will be exactly gcd(n,m).

Best regards,
Alexander Bogomolny

|Reply| |Up|

Copyright © 1996-2012 Alexander Bogomolny

 41169742

A math books store at a unique math study site. Shopping at the store helps maintain the site. Thank you.
Sites for teachers
Sites for parents
Terms of use
Awards
Interactive Activities

CTK Exchange
CTK Wiki Math
CTK Insights - a blog
Math Help
Games & Puzzles
What Is What
Arithmetic
Algebra
Geometry
Probability
Outline Mathematics
Make an Identity
Book Reviews
Stories for Young
Eye Opener
Analog Gadgets
Inventor's Paradox
Did you know?...
Proofs
Math as Language
Things Impossible
Visual Illusions
My Logo
Math Poll
Cut The Knot!
MSET99 Talk
Old and nice bookstore
Other Math sites
Front Page
Movie shortcuts
Personal info
Privacy Policy

Guest book
News sites

Recommend this site

Sites for parents

Education & Parenting

Search:
Keywords:

Google
Web CTK
Supported by
3wVentures