Determine all integers $x,y$ such that $f:=(3^x-y^3)(x^3-3^y)$ is a perfect square.
What I have thought: the problem seems a bit hard to begin with. I first tried the situation that $\gcd(x,3)=\gcd(y,3)=1$ and was stuck. It would help a lot if we can make some progress in $\gcd(3^x-y^3,x^3-3^y)$, but I failed. However, if you just expand it, it still seems useless.
Any idea which makes progress is welcomed.
[[0, 1], [1, 0], [3, 3], [6, 9], [9, 6], [9, 27], [12, 81], [15, 243], [18, 729], [27, 9], [81, 12], [243, 15], [729, 18]]. From this, it seems like looking at $(3k,3^k)$ and $(3^k,3k)$ may be useful. Unfortunately, showing all solutions are of this form is likely more difficult. – Mark Schultz-Wu Aug 10 '17 at 01:22\gcdgives a better look cf. $\gcd$ and $gcd$ – mdave16 Aug 10 '17 at 01:46