Pelican Parts
Parts Catalog Accessories Catalog How To Articles Tech Forums
Call Pelican Parts at 888-280-7799
Shopping Cart Cart | Project List | Order Status | Help



Go Back   Pelican Parts Forums > Miscellaneous and Off Topic Forums > Off Topic Discussions


Reply
 
LinkBack Thread Tools Rate Thread
Author
Thread Post New Thread    Reply
the the is offline
Registered
 
Join Date: Oct 2006
Location: Colorado, USA
Posts: 8,279
Math question: Easiest way to find the Greatest Common Factor?

What's the easiest way to do that? Formula or something?

Trying to help my son with his math (LOL). Easy ones, like 21, 28, are not a problem, because it's easy to spot the answer (7).

But what about harder ones, like, say 28 and 84, or 46 and 138? Surely there must be a method to figuring these out! (I guess I'm NOT smarter than a fifth grader!).

Old 02-24-2008, 02:45 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #1 (permalink)
Banned
 
Join Date: Apr 2005
Location: Columbus, OH
Posts: 18,162
Do your own googling man.....

http://www.math.com/school/subject1/lessons/S1U3L2GL.html
Old 02-24-2008, 02:52 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #2 (permalink)
Information Junky
 
island911's Avatar
 
Join Date: Mar 2001
Location: an island, upper left coast, USA
Posts: 73,189
one good trick is that if the numbers in the number add up to 3, then it is also divisible by 3.

example: 123 .. . . 1+2+3=6 (=>divisible by 3)

anything divisible by 5 is obvious. Same for 2.
__________________
Everyone you meet knows something you don't. - - - and a whole bunch of crap that is wrong.
Disclaimer: the above was 2¢ worth.
More information is available as my professional opinion, which is provided for an exorbitant fee.
Old 02-24-2008, 02:58 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #3 (permalink)
The Unsettler
 
stomachmonkey's Avatar
 
Join Date: Dec 2002
Location: Lantanna TX
Posts: 23,885
Send a message via AIM to stomachmonkey
9, 18, 27, 36, 45....... digits add up to 9 so divisible by 9
__________________
"I want my two dollars"
"Goodbye and thanks for the fish"
"Proud Member and Supporter of the YWL"
"Brandon Won"
Old 02-24-2008, 04:54 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #4 (permalink)
Registered User
 
WI wide body's Avatar
 
Join Date: Aug 2007
Location: Milwaukee
Posts: 2,431
Quote:
Originally Posted by island911 View Post
one good trick is that if the numbers in the number add up to 3, then it is also divisible by 3.

example: 123 .. . . 1+2+3=6 (=>divisible by 3)

anything divisible by 5 is obvious. Same for 2.
And how does that work for the example he listed: 28 and 84, or 46 and 138?
Old 02-24-2008, 05:02 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #5 (permalink)
Registered
 
baldman's Avatar
 
Join Date: Jul 2005
Location: San Diego, CA
Posts: 200
I'm going through the same thing with my daughter. To me it's easiest to start with the smaller number and work backwards. So 28 and 84 you say "does 28 divide into 84", then if not, work the next highest number you can evenly divide into 28.

In this case, the answer is 28
__________________
Andy

83 911SC Targa
Old 02-25-2008, 06:41 AM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #6 (permalink)
 
Registered
 
baldman's Avatar
 
Join Date: Jul 2005
Location: San Diego, CA
Posts: 200
Quote:
Originally Posted by WI wide body View Post
And how does that work for the example he listed: 28 and 84, or 46 and 138?
It works to eliminate soime numbers. Since 2+8=10 and 10 is not divisible by 3, then 3 and any multiple of 3 can't be the answer.
__________________
Andy

83 911SC Targa
Old 02-25-2008, 06:42 AM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #7 (permalink)
Registered
 
Join Date: Dec 2002
Location: www.fakelife.com
Posts: 1,672
Send a message via AIM to SlowToady
This is pretty easy...I'll write something up for you when I get back from my Spanish exam.
__________________
I turn away with fear and horror from this lamentable sore of continuous functions without derivatives. --Charles Hermite

Fakelife.com Nothing to do with archery anymore. Porsche/BMW/Ferrari/Honda videos
Old 02-25-2008, 08:39 AM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #8 (permalink)
Registered
 
Join Date: Dec 2002
Location: www.fakelife.com
Posts: 1,672
Send a message via AIM to SlowToady
Ok, strap in and let's sit through some Elementary Number Theory for a second. Your son, obviously, doesn't need to know this part (yet) but it will help you understand, and hopefully thereby enable you to teach/help him more effectively.

First we must establish divisibility, which will be represented by the " | " sign. Let a be non-zero and b be arbitrary. Then, if there exists a c such that b = a*c, we say that a divides b. Alternatively, we say that a is a divisor of b. (The statements are equal.) We write a | b. The negation is a !| b, where " !| " means "does not divide." a, b, c are integers.

Following from this definition we have:
1. For every a != 0, a | 0 and a | a. For every b, +-1 | b.
2. If a | b and b | c, then a | c.
3. If a | b and a | c, then a | (bx + cy) for each x, y.
4. If a | b and b != 0, then abs(a) <= abs(b).

Ok, now that we have that established, we move on to the Euclidean Algorithm and the Greatest Common Divisor.

Theorem: Given any two integers a and b, not both 0, there is a unique integer, d such that
i) d > 0
ii) d | a and d | b
iii) If d(sub1) is any integer such that d(sub1 | a and d(sub1) | b, then d(sub1) | d.

What the third property says is that every common divisor of a and b divides d. It follows logically from Assertion 4 that d is the numerically largest of the divisors of a and b. We therefore state that gcd(a,b) = d. I've omitted the proof of this, thinking that instead examples will serve better than mathematical proof.

Say, for example, we wish to find the Greatest Common Divisor of 4147 and 10672, or, gcd(4147, 10672). We would go about it as follows:

10672 = 4147 * 2 + 2378
4147 = 2378 * 1 + 1769
2378 = 1769 * 1 + 609
1769 = 609 * 2 + 551
609 = 551 * 1 + 58
58 = 29 * 2

Thus, gcd(4147,10672) = 29.

Basically, what you are doing, is taking the smaller number, 4147, multiplying it by the largest possible number whose product is < the largest number (10672) (call it t), and then adding the difference of the largest number and the product of the smaller number multiplied by t.

For 24 and 84:

84 = 24 * 3 + 12
24 = 12 * 2

Therefore, gcd(24,84) = 12.

For 28 and 84:

84 = 28 * 3
28 = 28 * 1

Therefore, gcd(28,84) = 28

If a, b have no common divisor, that is, gcd(a,b) = 1, then a and b are said to be "Relatively Prime."

If you don't like that method, there is another way (it does the same thing) using a 2x2 matrix. I don't remember if in 5th grade basic Matrix stuff is covered, but if so, or if you want to see the method anyway, reply here or PM/email me and I'll write that out as well. For me, personally, it's easier than the above.
__________________
I turn away with fear and horror from this lamentable sore of continuous functions without derivatives. --Charles Hermite

Fakelife.com Nothing to do with archery anymore. Porsche/BMW/Ferrari/Honda videos

Last edited by SlowToady; 02-25-2008 at 10:25 AM..
Old 02-25-2008, 10:20 AM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #9 (permalink)
the the is offline
Registered
 
Join Date: Oct 2006
Location: Colorado, USA
Posts: 8,279
Thanks, I'll have to print that out and read it carefully. Because I really don't fully understand it at first glance.

Poor kid, he's only in 4th grade, and he's young for his grade (there are kids in his class who are more than a year older than him). I don't remember doing things like this in 4th grade.
Old 02-25-2008, 10:30 AM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #10 (permalink)
Information Junky
 
island911's Avatar
 
Join Date: Mar 2001
Location: an island, upper left coast, USA
Posts: 73,189
I was going to say, that the math "Formula or something" is more involved than just having the kid use his head, trial and error style(w/ a few tricks). --anyway, using the math is likely the crux of the lesson. But I see that SlowToady has made that point.
__________________
Everyone you meet knows something you don't. - - - and a whole bunch of crap that is wrong.
Disclaimer: the above was 2¢ worth.
More information is available as my professional opinion, which is provided for an exorbitant fee.

Last edited by island911; 02-25-2008 at 11:28 AM..
Old 02-25-2008, 10:44 AM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #11 (permalink)
Custom User Title
 
rammstein's Avatar
 
Join Date: Oct 2002
Location: Miami
Posts: 4,294
The answer in my adult life is to call my wife and ask her.

Tell him to start dating smart girls.
Old 02-25-2008, 11:25 AM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #12 (permalink)
Registered User
 
WI wide body's Avatar
 
Join Date: Aug 2007
Location: Milwaukee
Posts: 2,431
Quote:
Originally Posted by SlowToady View Post
Ok, strap in and let's sit through some Elementary Number Theory for a second. Your son, obviously, doesn't need to know this part (yet) but it will help you understand, and hopefully thereby enable you to teach/help him more effectively.

First we must establish divisibility, which will be represented by the " | " sign. Let a be non-zero and b be arbitrary. Then, if there exists a c such that b = a*c, we say that a divides b. Alternatively, we say that a is a divisor of b. (The statements are equal.) We write a | b. The negation is a !| b, where " !| " means "does not divide." a, b, c are integers.

Following from this definition we have:
1. For every a != 0, a | 0 and a | a. For every b, +-1 | b.
2. If a | b and b | c, then a | c.
3. If a | b and a | c, then a | (bx + cy) for each x, y.
4. If a | b and b != 0, then abs(a) <= abs(b).

Ok, now that we have that established, we move on to the Euclidean Algorithm and the Greatest Common Divisor.

Theorem: Given any two integers a and b, not both 0, there is a unique integer, d such that
i) d > 0
ii) d | a and d | b
iii) If d(sub1) is any integer such that d(sub1 | a and d(sub1) | b, then d(sub1) | d.

What the third property says is that every common divisor of a and b divides d. It follows logically from Assertion 4 that d is the numerically largest of the divisors of a and b. We therefore state that gcd(a,b) = d. I've omitted the proof of this, thinking that instead examples will serve better than mathematical proof.

Say, for example, we wish to find the Greatest Common Divisor of 4147 and 10672, or, gcd(4147, 10672). We would go about it as follows:

10672 = 4147 * 2 + 2378
4147 = 2378 * 1 + 1769
2378 = 1769 * 1 + 609
1769 = 609 * 2 + 551
609 = 551 * 1 + 58
58 = 29 * 2

Thus, gcd(4147,10672) = 29.

Basically, what you are doing, is taking the smaller number, 4147, multiplying it by the largest possible number whose product is < the largest number (10672) (call it t), and then adding the difference of the largest number and the product of the smaller number multiplied by t.

For 24 and 84:

84 = 24 * 3 + 12
24 = 12 * 2

Therefore, gcd(24,84) = 12.

For 28 and 84:

84 = 28 * 3
28 = 28 * 1

Therefore, gcd(28,84) = 28

If a, b have no common divisor, that is, gcd(a,b) = 1, then a and b are said to be "Relatively Prime."

.
Yeah, lot's of 5th graders will be all over the above...right after they get the iPod out of their ear!
Old 02-26-2008, 05:40 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #13 (permalink)
Registered
 
Join Date: Dec 2002
Location: www.fakelife.com
Posts: 1,672
Send a message via AIM to SlowToady
The part involving the Number Theory aspect was intended for the OP so he could understand the mathematical reasoning behind what the Greatest Common Divisor really means, and how it's calculated. The examples serve to show how it works, and how he can apply it to his son.

I've found that if, while you're following the examples, you say in English what you're doing, it reinforces the concept.

There is another, possibly easier to understand, method using a Matrix. Your son doesn't have to understand (yet) *why* it works, but he needs to know how to do it.

In 5th grade, I would have gotten wood over "the above"
__________________
I turn away with fear and horror from this lamentable sore of continuous functions without derivatives. --Charles Hermite

Fakelife.com Nothing to do with archery anymore. Porsche/BMW/Ferrari/Honda videos
Old 02-26-2008, 05:49 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #14 (permalink)
Information Junky
 
island911's Avatar
 
Join Date: Mar 2001
Location: an island, upper left coast, USA
Posts: 73,189
It was a very good write up, good method, ST.
Tho, you may want to open with an example ... a simpler one; similar to what you closed with. I think the most started glazing over with the defn's.
__________________
Everyone you meet knows something you don't. - - - and a whole bunch of crap that is wrong.
Disclaimer: the above was 2¢ worth.
More information is available as my professional opinion, which is provided for an exorbitant fee.
Old 02-26-2008, 06:01 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #15 (permalink)
UFLYICU
 
ZOA NOM's Avatar
 
Join Date: Feb 2003
Location: Brentwood, CA
Posts: 5,528
Garage
Send a message via Yahoo to ZOA NOM
I vote SlowToady's as the post of the year. That was absolutely beautiful. I wish half the questions I ever asked were answered so cleanly. Well done!
__________________
_______________________
Racer Rix Spec911 #5

prc-racing.com
Old 02-26-2008, 08:38 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #16 (permalink)
Canadian Member
 
911Rob's Avatar
 
Join Date: Nov 2003
Location: Shuswap Lake, BC
Posts: 4,483
Garage
Quote:
Originally Posted by SlowToady View Post
Ok, strap in and let's sit through some Elementary Number Theory for a second. Your son, obviously, doesn't need to know this part (yet) but it will help you understand, and hopefully thereby enable you to teach/help him more effectively.

First we must establish divisibility, which will be represented by the " | " sign. Let a be non-zero and b be arbitrary. Then, if there exists a c such that b = a*c, we say that a divides b. Alternatively, we say that a is a divisor of b. (The statements are equal.) We write a | b. The negation is a !| b, where " !| " means "does not divide." a, b, c are integers.

Following from this definition we have:
1. For every a != 0, a | 0 and a | a. For every b, +-1 | b.
2. If a | b and b | c, then a | c.
3. If a | b and a | c, then a | (bx + cy) for each x, y.
4. If a | b and b != 0, then abs(a) <= abs(b).

Ok, now that we have that established, we move on to the Euclidean Algorithm and the Greatest Common Divisor.

Theorem: Given any two integers a and b, not both 0, there is a unique integer, d such that
i) d > 0
ii) d | a and d | b
iii) If d(sub1) is any integer such that d(sub1 | a and d(sub1) | b, then d(sub1) | d.

What the third property says is that every common divisor of a and b divides d. It follows logically from Assertion 4 that d is the numerically largest of the divisors of a and b. We therefore state that gcd(a,b) = d. I've omitted the proof of this, thinking that instead examples will serve better than mathematical proof.

Say, for example, we wish to find the Greatest Common Divisor of 4147 and 10672, or, gcd(4147, 10672). We would go about it as follows:

10672 = 4147 * 2 + 2378
4147 = 2378 * 1 + 1769
2378 = 1769 * 1 + 609
1769 = 609 * 2 + 551
609 = 551 * 1 + 58
58 = 29 * 2

Thus, gcd(4147,10672) = 29.

Basically, what you are doing, is taking the smaller number, 4147, multiplying it by the largest possible number whose product is < the largest number (10672) (call it t), and then adding the difference of the largest number and the product of the smaller number multiplied by t.

For 24 and 84:

84 = 24 * 3 + 12
24 = 12 * 2

Therefore, gcd(24,84) = 12.

For 28 and 84:

84 = 28 * 3
28 = 28 * 1

Therefore, gcd(28,84) = 28

If a, b have no common divisor, that is, gcd(a,b) = 1, then a and b are said to be "Relatively Prime."

If you don't like that method, there is another way (it does the same thing) using a 2x2 matrix. I don't remember if in 5th grade basic Matrix stuff is covered, but if so, or if you want to see the method anyway, reply here or PM/email me and I'll write that out as well. For me, personally, it's easier than the above.
This is why after every math lecture in college I would give an evening class for my classmates, to help them decipher the lesson!

__________________
Rob McKibbon
Arena Red 96 993 TT LINK
Contemplate YOUR Success!
Old 02-26-2008, 11:37 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #17 (permalink)
Reply


 


All times are GMT -8. The time now is 12:47 PM.


 
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0
Copyright 2025 Pelican Parts, LLC - Posts may be archived for display on the Pelican Parts Website -    DMCA Registered Agent Contact Page
 

DTO Garage Plus vBulletin Plugins by Drive Thru Online, Inc.