I bring this sample in order to ilustrate
$$x! = 2^x + 8$$
I know the answer is $x=4$ but I dunno how to prove it. I mean, if i put the number 4 by observation, tryal and error, I can get the results, but I dunno how to solve it isolating x like this:
(1) $x (x-1)! = 2^x +8$
(2) $x = \dfrac{2^x+8}{(x-1)!}$
(3) $x = \dfrac{2^x + 2^3}{(x-1)!}$
(4) $x = \dfrac{2\cdot2^{x-1}+2^3}{(x-1)!}$
From that point on I dunno how to procee using algebra
I would not know how to proceed if I come across another equation that its resolutions is not so easy to solve, like that one by trial and error.
I think trial and error is the way to go. You can guess that the solution should be small since factorial dominates exponentials.