If $m,n,p \in N$ and $m+n+p-1=2\sqrt{mnp}$, prove that at least one of $m,n,p$ is a perfect square.
There is a duplicate here: Perfect square : $ m+n+p-2\sqrt{mnp}=1$, but I am very confused.
Now I have proven $\gcd(m,n,p)=1$
And I let $\gcd(m,n)=d_1$, $\gcd(m/d_1,p)=d_2$, and $\gcd(n/d_1,p/d_2)=d_3$
I have $d_1d_2m_2^{2}+d_1d_3n_2^{2}+d_3d_2p_2^{2}-1=2d_1d_2d_3m_2n_2p_2$, where $d_1d_2m_2^{2}=m$, $d_1d_3n_2^{2}=n$ and $d_3d_2p_2^{2}=p$
Then I don't know what to do.
I have parts of this, not enough. It is sometimes the case that problems are proposed for which the organizers do not genuinely possess a full proof.
Just so you know, it is quite difficult to find solutions with three distinct numbers. Meanwhile, the "new m" is the result of what is often called Vieta Jumping. Maybe I should put a little detail, as Carl may have finished the problem, but it depends on compatibility of the "jumping" versions. The original equation squares to $$ m^2 + n^2 + p^2 +2mn+2np+2pm - 4mnp -2m-2n-2p+1=0. $$ Collecting this as a quadratic equation in $m$ alone, we get $$ m^2 - (4np-2n-2p+2)m + (n+2 + 2np + p^2 -2n -2p+1 ) = 0 $$ If there is one integer solution with this $m,$ there is another we can call $m',$ with $m+m' = (4np-2n-2p+2),$ finally the new $m$ value is $$ m' = (4np-2n-2p+2) - m $$ The jump is from the triple (solution ) $(m,n,p)$ to $(m',n,p)$
I should include the reason the this version of jumping preserves squares, so also preserves non-squares. Now, if $m$ is a square, the fact that $\sqrt {mnp}$ is rational means $np$ is also a square. Note that we have $2 \sqrt{mnp} = m+n+p-1$ and $4 \sqrt{mnp} = 2m+2n+2p-2.$
Consider $$ \color{red}{Q = \left( \sqrt m - 2 \sqrt {np} \right)^2} \; . $$ $$ Q = m + 4np - 4 \sqrt{mnp} = m + 4np - (2m+2n+2p-2) \; , $$ $$ Q = 4np -2n-2p+2 - m \; . $$ This is the same as $m'$ in the jump. So, when $m$ is a square, $$ \color{red}{m' = \left( \sqrt m - 2 \sqrt {np} \right)^2} \; $$ is also a square.