Let $$y=\sum_{n=1}^{x}n!$$ be the sum of consecutive factorials.
What is closed form for $y$ in terms of $x$? Wolfram Alpha says that $$y=-(-1)^x\Gamma(x+2)(!(-x-2))-!(-1)-1$$ where $!x$ is subfactorial function of $x$, but there isn't any step-by-step method available. Can you explain how solve this?