Lcm of k,k+1,k+2 where k≡3(mod 4) ?

  • Thread starter Thread starter kingwinner
  • Start date Start date
Click For Summary

Homework Help Overview

The discussion revolves around finding the least common multiple (LCM) of the integers k, k+1, and k+2, specifically under the condition that k is congruent to 3 modulo 4. Participants explore the properties of these integers, particularly focusing on their parity and relationships.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants discuss the implications of k being odd, k+1 being even, and the nature of consecutive integers in relation to their greatest common divisor (GCD). There are inquiries about how to calculate the GCD of three numbers and the validity of using pairwise calculations for LCM.

Discussion Status

Several participants have offered insights into the relationships between the integers and their GCDs. There is an ongoing exploration of whether k, k+1, and k+2 can be considered pairwise coprime, and how this affects the calculation of the LCM. Some participants express uncertainty about proving these relationships rigorously.

Contextual Notes

Participants note the challenge of applying the Euclidean algorithm to three numbers, as most examples focus on pairs. There is also mention of the implications of negative integers and the definition of LCM in the context of integers that may not have standard prime factorizations.

kingwinner
Messages
1,266
Reaction score
0
Find the least common multiple of k,k+1, and k+2 where k≡3(mod 4).

Some ideas:
k≡3(mod 4) => k=3+4z for some z E Z
So k is odd, k+1 is even, and k+2 is odd.
Also, this question asks about the lcm of THREE numbers, so I don't think the the Euclidean algorithm (which only gives the gcd or lcm of TWO numbers) will help us in this question.

So how can we solve this?
Thanks for any help!
 
Physics news on Phys.org
What is the gcd of k, k+1 and k+2? If you know it (and you can), the lcm is immediate.
 
Last edited:
Right now, I really don't have any way to calculate the gcd of THREE numbers. My textbook talks about the Euclidean algorithm, but all examples and problems are dealing with the gcd of TWO numbers.

Another thing is we don't know what those numbers k, k+1, k+2 actually are...
 
Yes you do -- they are k, k+1, and k+2.

If you only know how to compute pairwise LCM's, then seek to reduce the problem to that.
 
What can you say about the common divisors of consecutive integers? Notice that (k+1)-k = 1 and (k+2)-k = 2 and k is odd. By the way, gcd(a,b,c) = gcd(gcd(a,b),c).
 
Last edited:
JSuarez said:
What can you say about the common divisors of consecutive integers? Notice that (k+1)-k = 1 and (k+2)-k = 2 and k is odd. By the way, gcd(a,b,c) = gcd(gcd(a,b),c).
How can we prove that gcd(a,b,c) = gcd(gcd(a,b),c)?

I know that gcd of two consecutive integers = gcd(k,k+1)=1, i.e. two consecutive integers are always relatively prime, but I have no idea about the gcd or lcm of three consecutive integers...
 
How can we prove that gcd(a,b,c) = gcd(gcd(a,b),c)?

Well, suppose that d is a common divisor of a,b and c, then it will also be a common divisor of...

I know that gcd of two consecutive integers = gcd(k,k+1)=1

How do you prove this?
 
JSuarez said:
Well, suppose that d is a common divisor of a,b and c, then it will also be a common divisor of...



How do you prove this?

Yep if 3 divides each of a,b,c it will also divide each of a and b! A common divisor of a and b must equal or divide the gcd(a,b).
 
JSuarez said:
What is the gcd of k, k+1 and k+2? If you know it (and you can), the lcm is immediate.

You can find the lcm of a,b,c by multiplying a,b,c together and dividing that result by gcd(a,b,c) twice and by gcd(a,b)/gcd(abc) and gcd(a,c)/gcd(a,b,c) and gcd(b,c)/gcd(a,b,c) each once. You know how to multiply, add and subtract algebraic numbers don't you.
 
  • #10
k is odd, k+1 is even, and k+2 is odd

I know that two consecutive integers are always relatively prime, so gcd(k,k+1)=1 and gcd(k+1,k+2)=1.

With k and k+2 odd, is it always true that gcd(k,k+2)=1? If so, how can we prove it?

If the above are true, then k, k+1, k+2 are pairwise coprime, then it seems intuitively believable to me that lcm(k,k+1,k+2)=k(k+1)(k+2). But I can't figure out a way to prove this rigorously...

Can someone help me, please?
Thank you!
 
  • #11
With k and k+2 odd, is it always true that gcd(k,k+2)=1? If so, how can we prove it?

Yes. What does the equality (k+2)-k = 2 tell you about the possible values of gcd(k,k+2)?

k, k+1, k+2 are pairwise coprime, then it seems intuitively believable to me that lcm(k,k+1,k+2)=k(k+1)(k+2)

Think of the lcm in terms of the prime factorizations of k,k+1,k+2.
 
  • #12
OK, now I have proved that k, k+1, k+2 are pairwise coprime.

But I still can't figure out how to prove that lcm(k,k+1,k+2)=k(k+1)(k+2).

Can somebody provide some help, please?
 
  • #13
so you have GCD(K,K+1,K+2)=1, just use the definition of LCM, which is
LCM(a1,a2,a3...)=(a1*a2*a3*a4...)/(GCD(a1,a2,a3...)
 
  • #14
tt2348 said:
so you have GCD(K,K+1,K+2)=1, just use the definition of LCM, which is
LCM(a1,a2,a3...)=(a1*a2*a3*a4...)/(GCD(a1,a2,a3...)
But that formula is not true...
[tex]\text{lcm}(2,4,8)\cdot\gcd(2,4,8) = 2\cdot 8\neq 2\cdot 4\cdot 8[/tex]

So how can we PROVE that k, k+1, k+2 are pairwise coprime => lcm(k,k+1,k+2)=k(k+1)(k+2)??

Thanks.
 
  • #15
Let [itex]k = p_{1}^{e_1}p_{2}^{e_2}\cdots p_{n}^{e_n}[/itex], [itex]k+1 = q_{1}^{f_1}q_{2}^{f_2}\cdots q_{n}^{f_n}[/itex] and [itex]k + 2 = r_{1}^{g_1}r_{2}^{g_2}\cdots r_{n}^{g_n}[/itex] be the prime factorizations of k, k+1 and k + 2. They don't have any common prime factors; so, what are the factors that must appear on the lcm?
 
  • #16
JSuarez said:
Let [itex]k = p_{1}^{e_1}p_{2}^{e_2}\cdots p_{n}^{e_n}[/itex], [itex]k+1 = q_{1}^{f_1}q_{2}^{f_2}\cdots q_{n}^{f_n}[/itex] and [itex]k + 2 = r_{1}^{g_1}r_{2}^{g_2}\cdots r_{n}^{g_n}[/itex] be the prime factorizations of k, k+1 and k + 2. They don't have any common prime factors; so, what are the factors that must appear on the lcm?

So I guess we just multiply all of them.

But k=1 and negative k's don't have prime factorizations, how can we prove for these cases?
Also, LCM(a1,...an) itself is defined to be positive, but the a1,...,an can be integers. So will this change our answer? Maybe the lcm should be |k(k+1)(k+2)|?

Thanks!
 
  • #17
So I guess we just multiply all of them.

Exactly.

But k=1 and negative k's don't have prime factorizations, how can we prove for these cases?

Remember that, if k=1, then any positive integer is a multiple of k, so this doesn't affect the result. Second, negative integers have prime factorizations: you just have to put a minus sign in front.

Maybe the lcm should be |k(k+1)(k+2)|?

It is: the expression for two numbers is:

[tex]\rm{lcm}\left(a,b\right)=\frac{\left|ab\right|}{\rm{gcd}\left(a,b\right)}[/tex]
 

Similar threads

Replies
2
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
Replies
7
Views
4K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 16 ·
Replies
16
Views
2K
  • · Replies 12 ·
Replies
12
Views
7K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 16 ·
Replies
16
Views
3K