View Full Version : does gcd(n, n+1)=1?
smithg86
Mar14-07, 07:37 PM
is the gcd of two successive integers (n, n+1) always equal to 1? i.e., are two successive integers always coprime? it seems like this is the case, but how would you prove this? (this came up in my logic/proof class, but the professor wouldn't or couldn't prove it - this isn't a HW question.)
smithg86
Mar14-07, 07:47 PM
but how would you prove it to be true?
try Euclid's Algorithm...
Isn't it pretty obvious? suppose m divides n, then n=jm for some j. But then n+1=jm+1 which is not divisible by m (unless m=1). Thus n and n+1 are coprime.
JasonRox
Mar14-07, 08:12 PM
It's neat that you brought that up.
I saw a proof using this property to show that there are infinitely many primes.
mathwonk
Mar14-07, 09:49 PM
how can there be 5 replies to this question?
the more trivial the inquiry the more replies.
Dragonfall
Mar15-07, 12:42 AM
If this comes from a logic class, then I'm assuming you need to construct a formal proof starting from Peano's axioms, with the "existential introduction/elimination", etc. This proposition should take about 50 lines to prove, if you're lucky.
Moo Of Doom
Mar15-07, 10:03 AM
the more trivial the inquiry the more replies.
Duh! Because more people know the answer.
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.