Notice that if x<0 or y<0 then the term 2x5y is not an integer while x2y5−2015−4xy is an integer which is impossible. If x=0 or y=0 then the equation becomes −2x5y=2015 which has no solution. We deduce that both x,y are positive integers. Moreover, because 2x5y+2015+4xy is an odd integer, both x,y are odd integers.
Working modulo 5, we get x2y≡4xy and therefore either x≡0,4 or y≡0(mod5).
Working modulo 8, and because x,y are odd, we get y−2x⋅5≡−1+4 which is equivalent to y≡5(2x−1)(mod8). Therefore, either x=1 and y≥5 or x≥3 and y≡3(mod8).
If x=1 and y≥5 then the equation becomes y5−2⋅5y=2015+4y and has no solution since the left hand side is negative (We prove it by induction on y≥5).
If x=3 then y≡3(mod8). But y≡0(mod5). Therefore y≥35 and 9⋅y5−8⋅5y is negative so the equation has no solution.
If x≥5 and y=3 then y≥5. In this case x2<2x and y5≤5y (We prove it by induction) and therefore x2y5−2x5y is negative and the equation has no solution.
If x≥7 and y=3 then because x≡0,4(mod5), x≥9. Therefore x2⋅35−2x53<35(x2−2x−2) is negative and therefore the equation has no solution.
If x=5 and y=3, the equation is satisfied.
Hence the unique solution is (5,3).