Only nontrivial solns are the pairs (4,2), (2,4). Proof:
$For $x\geq 3>e$, and $k$ any positive integer we have:\\$(x+k)^x=x^x(1+k/x)^x<x^xe^k<x^{x+k}
so we cannot have equality if x and y are not equal. Here I have assumed a commonly known limit expression for e (and the fact that this...