I need to find $a, b$ positive integers that verify: $$a + b = 1271$$ $$\mathrm{lcm}(a, b) = 330\gcd(a, b)$$
I don't know how to start thinking those kind of exercises.
I need to find $a, b$ positive integers that verify: $$a + b = 1271$$ $$\mathrm{lcm}(a, b) = 330\gcd(a, b)$$
I don't know how to start thinking those kind of exercises.
Hint: First of all, $\text{gcd}(a,b)=\text{gcd}(a,1271-a)$. Now suppose $d\mid a$ and $d\mid (1271-a)$, then there exist number $k,l\in \mathbb{Z}$ such that $a=kd$ and $1271-a=ld$. Hence $$1271-a=1271-kd=ld.$$ Thus $$31\cdot 41=1271=(k+l)d.$$ What does this tell you about $k+l$ and $d$? What if you suppose that $d=\text{gcd}(a,b)$? Also, recall that $\text{lcm}(a,b)\text{gcd}(a,b)=ab$, this might help.
Edit: Suppose $d=\text{gcd}(a,b)$. Since $d\mid 31\cdot 41$, either $d=1,31,41$ or $1271$. Now we can work by cases:
Case I: If $d=1$, then $\text{lcm}(a,b)=330=2^2\cdot 3\cdot 5\cdot 11=ab$ and $a+b=1271$. Now there are only finitely many possibilities for $a$ and $b$ since they should be divisors of $330$. You can check by hand.
Case II: If $d=31$, then $\text{lcm}(a,b)=\frac{ab}{31}=2^2\cdot 3\cdot 5\cdot 11\cdot 31$. So $ab\mid 2^2\cdot 3\cdot 5\cdot 11\cdot 31^2$ again there are finitely many cases.
The other cases can be dealt with similarly. With some more thought you can severly reduce the amount of work you need to do (There is one more trick to make the calculation quite easy). But since you blatantly copied most of my answer into your question, I'll leave the rest up to you.
At least this method helps you to reduce to finitely many cases which in principle can be checked.
so we can simplify: $$\text{lcm}(a, b) = \frac{ab}{gcd(a,b)} = 330.\gcd(a, b)$$ $$a^b = 330.\gcd(a, b)$$ $$\frac{a^b}{gcd(a,b)} = 330$$ $$a^b^ = 330$$ Now that you point it, I remember that notation from university, but I don't know if it's official as I've looked around and haven't seen it anywhere.
– nnov Apr 13 '17 at 03:00