So like I just discovered some kind of a theorem. Looking how to prove it. \[k_0 < k_1 < k_2 < k_3 < \cdots < k_n \implies \gcd (k_0, k_1, k_2 \cdots k_n) \le \min \left(\bigcup_{i = 1}^{n} \left(k_i - k_{i - 1}\right)\right) \]
@Jhannybean Yeah, this discovery comes from that gcf question :P
Looks kind of like a Reimann Sum.
Technically, that just says that gcd is lesser than the least difference between any two numbers. Seems obvious but how to prove it?
I don't know atm D: you're asking too difficult questions at 3:30 AM ^_^''.....
The question is not difficult at all! The answer is...
@nincompoop :'D
@ganeshie8 @whpalmer4 :)
@radar
@oldrin.bataku
@shubhamsrg :)
gcd has to each of the term. it follows that gcd| min(k_i - k_{i+1})
are you trying to prove that: the biggest common divisor cannot be bigger than the smallest element in the set. and the smallest common multiple cannot be smaller than the largest element in the set.
gcd(5,5) = 5 5 - 5 = 0 is the gcd(5,5) <= 0?
But \(5 < 5\) is not true.
@amistre64
your thrm states: gcd(k0,k1) <= k1-k0 gcd(5,5) <= 5-5 5 <= 0 or am i reading your notation incorrectly?
i see, the implication is that k0 < k1 so they cant be equal
Hey KingGeorge, I hope you could help me with this tough (for me) problem.
I think it's simpler than I first thought. Suppose WLOG that \(k_i-k_{i-1}\) is the minimal difference. Then the gcd of \(k_0,...,k_n\) must divide both \(k_i\) and \(k_{i-1}\). Thus, it must divide \(k_i-k_{i-1}\), and since \(k_i>k_{i-1}\), we immediately get that the gcd is \(\le (k_i-k_{i-1})\).
My first thought was via induction, but I think this is good enough.
I'd have to keep reading this proof again and again. Let me think about it. Thanks for the help!
You're welcome.
I got it till \(k_i > k_{i - 1}\). How did you get that the gcd is \(\le k_i - k_{i-1}\)
Well, it must divide \(k_i-k_{i-1}\) (which is positive), but if the gcd were greater, then it clearly would not be able to divide it. Thus, the gcd must be less than or equal to \(k_i-k_{i-1}\). We need that it's positive, since if it were negative, then the gcd would actually be greater since the gcd is defined to be positive.
Oh, of course! I never thought of the negation of that. Thanks!
You're welcome.
Join our real-time social learning platform and learn together with your friends!