Given natural integers a,b,c,d such that: $ab=cd$ and $ a+b+c+d=2019.$
How many solutions exist?
From trial and error with smaller numbers I believe $(a+b)$ and $(c+d)$ divide $2019.$ but I can’t prove it or use it to solve the problem. Any help?
Given natural integers a,b,c,d such that: $ab=cd$ and $ a+b+c+d=2019.$
How many solutions exist?
From trial and error with smaller numbers I believe $(a+b)$ and $(c+d)$ divide $2019.$ but I can’t prove it or use it to solve the problem. Any help?
$0$ is not a natural number.
We can write $a=xy$ so that $x\mid c$ and $y\mid d$. Then $c=mx$ and $d=ny$ for some integers $m,n$.
So we have $b =mn$ and thus $mn+mx+ny+xy = 2019$ so $$(m+y)(n+x) = 2019$$
Since $2019 = 3\cdot 673$ we have $m+y =3$ and $n+x= 673$ (or vice versa). So we have $$2\cdot 2\cdot 672$$ solutions.
All valid permutation of a solution $(a,b,c,d)$ will be taken as a single solution. Among $a,b,c,d$ three of them should have the same parity and the other distinct. The case one even and three odd is discarded by the condition $ab=cd$ so we have to solve the case
$$(a,b,c,d)=(x,4y,2y,2x)\text { with x odd }$$ It follows the equation $$3x+6y=2019$$ A particular solutions is $(x,y)=(3,335)$ then we have as general solution
$$\begin{cases}x=3+2n\\y=335-n\end{cases}$$ Consequently we have
$$(a,b,c,d)=(3+2n,1340-4n,670-2n,6+4n)$$
Of the allowed values of $n$ there are $334$ positive, one null and one negative, which gives $\boxed{336}$ possible solutions (with valid permutations excluded; for example for the largest value of $x=671$ we take $(671,4,1342,2)$ and $(671,4,2,1342)$ as the “same” solution)