I have gone through some basic Google search to find if there is a pattern to solve these kind of questions, but couldn't find any. Hence posting this question here.
How to tackle the below math equation?
$a^b + b^a = 1234$, find $a, b$, other than the straightforward solution of $1233^1 + 1^{1233}$?