Equation with Sum of Factorial and Subfactorial

221 Views Asked by At

I am interested in finding solutions to the following equation $$x! + !x = a^3$$ where $x$ and $a$ are natural numbers and $!x$ is the subfactorial of $x$. I've found the solutions $x=1$ and $x=3$.

Are there any other solutions? What methods can be used to find out solutions to problems like these without utilizing the hit and trial method?