Problem

Source: ISL 2023 N7

Tags: number theory



Here are my thought process for this problem. First, we observe that the term $a+b$ and $c+d$ appear often, so we let $a+b = x$, $c+d=y$, $ab =n$ and $cd = m$. We get $$(x+y)(mx + ny) = x^2y^2$$Let $\gcd(x,y) = k$ and we replace $x$ with $ki$ and $y$ with $kj$, so the equation turns into $$(i+j)(mi+nj) = k^2i^2j^2$$where $\gcd(x,y) =1$ Note : We can’t suppose without the loss of generality that $k =1$, since it may result in some of $a,b,c,d$ being an irrational. The equation we get are something like $$\alpha \beta \text{ is perfect square}$$So, we went for a classical technique by observing $\gcd(i+j,mi+nj)$ By euclidian algorithm, we will end up with $\gcd(i+j,pi)$ or $\gcd(i+j,pj)$, which both of them is $1$ Thus, $i+j$ is forced to be a perfect square. But, we know that both $\gcd(i+j,j^2)$ and $\gcd(i+j,i^2)$ is $1$. So, it need to be square of some divisor of $k$. In other words, we can say that $$i+j = \frac{k^2}{q^2} \text{for some divisor q of k}$$Thus, $$a+b+c+d= \frac{\gcd(a+b,c+d)^3}{q^2}$$Note : It is impossible to have $q = k$, since it will result in $i+j =1$, meaning one of $i,j$ need to be $0$. So, we have $a+b+c+d$ is always non square free. But, we know that this equality is homogenized, thus if it is possible to have $a+b+c+d = S$, then it is also possible to have $a+b+c+d = \epsilon S$ Now, we want to know that what prime number $p$ can’t satisfy $a+b+c+d = p^2$ We have $$mx + ny = ( \frac{xy}{p} )^2$$ Thus, we have $$ p \mid x \text{or} p \mid y$$But, since we have $x+y = p^2$ , we have $$p \mid x,y$$Suppose $x = wp, y = zp$, we have $w+z = p$ and the equation $$ mw + nz = w^2z^2p^2$$Consider mod $p$ $$mw - nw \equiv m-n \equiv 0 \pmod{p}$$At this point, the condition we get are quite strong, so we are gonna proceed with some trial and error. Let $a=1, b=p-1, c = p-1, d= p^2-2p +1$. We are gonna see that this tuplet works. So, the answer is $\boxed{ a+b+c+d \text{ is a non square free integers}}$