(1) Sum of two factorials in two ways; (2) Value of $a^{2010}+a^{2010}+1$ given $a^4+a^3+a^2+a+1=0$.

The first solution is wrong, because $3\neq z!$ for any $z$.


The second solution is wrong.

If $a=1$, then $a^4+a^3+a^2+a+1=1+1+1+1+1\neq 0$, so it is obvious you made a serious mistake in your second solution.

In particular, you multiplied the equation by $(a-1)$, which of course produced a solution of $a=1$.


The second solution is not so wrong

$a^5-1=0$ has five solutions, the five complex fifth roots of unity. Namely

$$\left(a_0=1,\;a_1 = -\frac{1}{4}-\frac{\sqrt{5}}{4}-i \sqrt{\frac{5}{8}-\frac{\sqrt{5}}{8}},\;a_2 = -\frac{1}{4}+\frac{\sqrt{5}}{4}+i \sqrt{\frac{5}{8}+\frac{\sqrt{5}}{8}},\\a_3 = -\frac{1}{4}+\frac{\sqrt{5}}{4}-i \sqrt{\frac{5}{8}+\frac{\sqrt{5}}{8}},\;a_4 = -\frac{1}{4}-\frac{\sqrt{5}}{4}+i \sqrt{\frac{5}{8}-\frac{\sqrt{5}}{8}}\right)$$

One of them, $a=1$, is not a root of the fourth degree equation $$a^4+a^3+a^2+a+1=0$$ but the other four actually are because $$a^5-1=(a-1)(a^4+a^3+a^2+a+1)$$

So plugging $a^5=1$ in the $a^{2000}+a^{2010}+1$ is perfectly legal and the actual result is $3$

Hope this is useful