I have to solve the equation $$m^4-n^4=5(m^3+n^3)$$ in the set of natural numbers. I wrote a simple code in java and i solved the equation. Only solution in the set of natural numbers is $m = 6$ and $n = 3$.
I have been trying to get this solution mathematically for at least 3-4 hours and i am stuck. I really hope that there is someone who could show me how to solve this equation? Thank you!
Expanding $m^4-n^4$ , subtracting the right hand side, regrouping the terms by factoring $m^3+n^3$, and dividing through $m$$+n$, we finally arrive at $\underbrace{(m^2+n^2-mn)}_{(m-n)^2\ +\ mn\ \ge\ 0}\Big[m-(n+5)\Big]=mn\,(n-m)$, which would imply that $m-5\le n\le m\iff n=m-k$, where $0\le k\le5$. By replacing this in the former equation, we ultimately arrive at a quadratic equation in m, from where we deduce that $m=k\left[\dfrac12\pm\dfrac{\sqrt{4k\,(10-k)-75}}{4k-10}\right]$. Testing all six possible values, we have $k=3\to m=6\to$ $\to n=3$ , and $k=5\to m=5\to n=0$. QED.