Thread Closed

Greatest common divisor | Relatively prime

 
Share Thread Thread Tools
Jan7-10, 05:23 PM   #1
 

Greatest common divisor | Relatively prime


Claim: n! + 1 and (n+1)! + 1 are relatively prime.

How can we prove this? Can we use mathematical induction?
Base case: (n=1)
gcd(2,3)=1
Therefore, the statement is true for n=1.

Assuming the statment is true for n=k: gcd(k! + 1,(k+1)! + 1)=1 (induction hypothesis), we need to show that it's true for n=k+1. But I am stuck here. How can we use the induction hypothesis to prove this?

Or am I even on the right track thinking of using induction?

Thanks for any help!
PhysOrg.com
PhysOrg
science news on PhysOrg.com

>> Ants and carnivorous plants conspire for mutualistic feeding
>> Forecast for Titan: Wild weather could be ahead
>> Researchers stitch defects into the world's thinnest semiconductor
Jan7-10, 06:37 PM   #2
 
Recognitions:
Homework Helper Homework Help
Science Advisor Science Advisor
Quote by kingwinner View Post
How can we prove this?
Reduce mod k = n! + 1.
Jan7-10, 07:20 PM   #3
 
Quote by CRGreathouse View Post
Reduce mod k = n! + 1.
I have no background about modular arithmetic right now. It is an exercise from the first chapter of my book about "divisibility" and "relative primes". How can we prove it without assuming knowledge about modular arithmetic?
Jan7-10, 10:27 PM   #4
 
Recognitions:
Gold Membership Gold Member

Greatest common divisor | Relatively prime


Try a proof by contradiction: Suppose that n! + 1 and (n + 1)! +1 are not relatively prime. Let p be a prime number that divides both numbers. Then p divides the difference, and so ... (Can you do the rest?). (Or if you haven't covered prime numbers yet, let d be any integer greater than 1 that divides both numbers and then continue as above.)

HTH

Petek
Jan7-10, 10:42 PM   #5
 
Recognitions:
Homework Helper Homework Help
Science Advisor Science Advisor
Quote by kingwinner View Post
I have no background about modular arithmetic right now. It is an exercise from the first chapter of my book about "divisibility" and "relative primes". How can we prove it without assuming knowledge about modular arithmetic?
Write (n+1)! + 1 in terms of n! + 1.
Jan7-10, 11:18 PM   #6
 
Quote by Petek View Post
Try a proof by contradiction: Suppose that n! + 1 and (n + 1)! +1 are not relatively prime. Let p be a prime number that divides both numbers. Then p divides the difference, and so ... (Can you do the rest?). (Or if you haven't covered prime numbers yet, let d be any integer greater than 1 that divides both numbers and then continue as above.)

HTH

Petek
Quote by CRGreathouse View Post
Write (n+1)! + 1 in terms of n! + 1.
I am not sure how to express (n+1)! + 1 in terms of n! + 1, the best I can think of is
(n+1)! + 1 = (n+1) n! +1

Proof by contradiction:
Suppose d is an integer greater than 1 that divides both n! + 1 and (n + 1)! +1
=> d divides (n + 1)! - n! = (n+1) n! -n! = n!(n+1-1) = (n!)n
i.e. d divides (n!)n
I am trying to reach a contradiction, but where is it??
Jan8-10, 08:00 AM   #7
 
Recognitions:
Homework Helper Homework Help
Science Advisor Science Advisor
Quote by kingwinner View Post
I am not sure how to express (n+1)! + 1 in terms of n! + 1, the best I can think of is
(n+1)! + 1 = (n+1) n! +1
Good first step: you've written it in terms of n!. Now you want to write it in terms of k = n! + 1, so replace all instances of n! by (k - 1) and expand.
Jan9-10, 01:23 AM   #8
 
Quote by CRGreathouse View Post
Good first step: you've written it in terms of n!. Now you want to write it in terms of k = n! + 1, so replace all instances of n! by (k - 1) and expand.
OK!
(n+1)! + 1 = (n+1) n! +1

Let k= n! + 1 (=> n! = k-1)
Then (n+1)! + 1 = (n+1) n! +1 = (n+1)(k-1) +1
= nk -n +k -1 +1
=n (n! +1) - n + (n! +1)

But I still don't see where the "contradiction" is...
Jan9-10, 03:34 AM   #9
 
Blog Entries: 27
Recognitions:
Gold Membership Gold Member
Homework Helper Homework Help
Science Advisor Science Advisor
Hi kingwinner!
Quote by kingwinner View Post
(n+1)! + 1 = (n+1) n! +1
ok, now subtract n! + 1 from that.
Jan9-10, 01:11 PM   #10
 
Quote by tiny-tim View Post
Hi kingwinner!


ok, now subtract n! + 1 from that.
That's exactly what I did in post #6, but I can't find my contradiction...
Jan9-10, 01:25 PM   #11
 
Blog Entries: 27
Recognitions:
Gold Membership Gold Member
Homework Helper Homework Help
Science Advisor Science Advisor
Quote by kingwinner View Post
That's exactly what I did in post #6, but I can't find my contradiction...
Quote by kingwinner View Post
… Suppose d is an integer greater than 1 that divides both n! + 1 and (n + 1)! +1
=> d divides (n + 1)! - n! = (n+1) n! -n! = n!(n+1-1) = (n!)n
i.e. d divides (n!)n
I am trying to reach a contradiction, but where is it??
oh, sorry, I missed that

ok, if a prime d divides the difference, then d | (n!)n, so d | n!, so …
Jan9-10, 01:33 PM   #12
 
Quote by tiny-tim View Post
ok, if a prime d divides the difference, then d | (n!)n, so d | n!, so …
Actually Petek was right, I haven't read the chapter about "primes" yet, so I assume no results about primes, so I let d to be any integer greater than 1 that divides both numbers. How should I continue?

But by the way, why if d is a prime and d | (n!)n => d | n! ???
One theorem in the later chapters says: If p is a prime, then p|(abc) => p|a OR p|b OR p|c.

Thanks!
Jan9-10, 01:41 PM   #13
 
Blog Entries: 27
Recognitions:
Gold Membership Gold Member
Homework Helper Homework Help
Science Advisor Science Advisor
Quote by kingwinner View Post
But by the way, why if d is a prime and d | (n!)n => d | n! ???
One theorem in the later chapters says: If p is a prime, then p|(abc) => p|a OR p|b OR p|c.
Yup … d | (n!)n => d | n! or d | n …

but if d | n, then d | n! anyway.
Jan9-10, 01:47 PM   #14
 
Quote by tiny-tim View Post
Yup … d | (n!)n => d | n! or d | n …

but if d | n, then d | n! anyway.
But I think the converse is false.
d | (n!)n => d|n or d|(n-1) or d|(n-2) or...or d|2 or d|1 or d|n
=> d|n or d|(n-1) or d|(n-2) or...or d|2 or d|1
Jan9-10, 01:54 PM   #15
 
Blog Entries: 27
Recognitions:
Gold Membership Gold Member
Homework Helper Homework Help
Science Advisor Science Advisor
I agree
but all you need is d | n!
Jan9-10, 01:56 PM   #16
 
Actually you are right. I don't know what I was thinking before.

d | (n!)n => d | n! or d | n
If d | n!, then d | n!
If d | n, then d | n!
So d | (n!)n => d | n! or d | n => d | n!

But we don't know what "n" is, so there does not seem to be any contradiction...?
Jan9-10, 02:03 PM   #17
 
Blog Entries: 27
Recognitions:
Gold Membership Gold Member
Homework Helper Homework Help
Science Advisor Science Advisor
Quote by kingwinner View Post
… d | n!

But we don't know what "n" is, so there does not seem to be any contradiction...?
ah, but you started with …
Quote by kingwinner View Post
Proof by contradiction:
Suppose d is an integer greater than 1 that divides both n! + 1 and (n + 1)! +1
so … ?
Thread Closed
Thread Tools


Similar Threads for: Greatest common divisor | Relatively prime
Thread Forum Replies
Greatest Common Divisor General Math 1
greatest common divisor Calculus & Beyond Homework 24
greatest common divisor Calculus & Beyond Homework 19
greatest common divisor of fractions and decimals General Math 2
Greatest common divisor of polynomials Linear & Abstract Algebra 0