Find GCD(-27,-45). I think that the answer is 9, but the back of the book says 3. Which do you think is correct and why?
what are their prime factors?
i dont think ive got this scripted for negative numbers ... so it might be best to enter them in absolute form
Well I believe that with negative numbers, it is still the highest positive factor (which would be 9). I'm just not completely sure.
you are correct, i just didnt have my scripting for the program to account for negative entries :)
if -9 is a factor, then so is +9, and +9 is greater then -9
Do you know how to find the prime factorization of a number?
i find prime factors like a type ... hunt and peck :)
@Skip2mylou426 ?
I thought so until I hit number theory haha
Divide by the prime numbers in order as many times as possible before going on to the next prime.
I don't think it's asking for primes, I'm pretty sure it's just asking for the GCD
Oops I meant the GCD is the GCF, right?
if d|a and d|b then d is a common divisor the largest common divisor is the GCD (greatest common divisor)
That's why I think it's 9, but I can't figure out why the back of the book says 3. That makes no sense to me.
3 | -27 and -45 9 | -27 and -45 since 9 > 3, 9 is the gcd
make sure your looking at the correct answer solution :)
45 = 27(1) + 18 27 = 18(1) + 9 <-- gcd is 9 18 = 9(2) + 0
Maybe it's a typo that should have been 3^2?
if you haven't noticed, you will, that math books often have typos proof readers have a hard time picking up mistakes. You can use wolfram as a check on some of these questions http://www.wolframalpha.com/input/?i=gcd%28-27%2C-45%29
Yes, even the best ones aren't typo-free.
"The positive divisors of 27 are 1, 3, 9, and 27. The positive divisors of 45 are 1, 3, 5, 9, 15, and 45. It follows that the greatest positive divisor of 27 and 45 is 3."
I was thinking that it might be a typo, but I'm looking at their lists and it's just not making sense. I'm gonna stick with 9. Thanks for your input everyone!
good luck ;)
Join our real-time social learning platform and learn together with your friends!