There are exactly three solutions of the equation $$(x - 1)^n + x^n = (x + 1)^n$$ where $x$ is an integer and $n= 2, 3, 4$ or $5$. Prove this statement and find the solutions.