Statement
There is no number $x > 1$ that divides both $n$ and $n+1$.
Proof (my attempt)
Indirect proof:
\begin{align} x\mathbin{\vert} n & \implies n = xt_1 \\ x\mathbin{\vert}(n+1) & \implies n+1 = xt_2 \end{align}
Having $n$ as a multiple of $x$ that is $x t_1$, the next larger multiple of $x$ is $x(t_1+1)$ which is always greater than $n+1$ as $x>1$.
Therefore, $x$ does not divide $n+1$ and we have a contradiction.
Thus the original statement is true.
Question
Is this how you can prove the statement? Is there anything wrong or something that can be improved formally?
There is nothing wrong with your proof. However, the critical sentence, the one starting "Having...", is true, but is (at least to me) not convincing, or at least not as simple as it could be. It would be easier to subtract the two equations, giving $1 = x(t_2-t_1)$, deriving a contradiction.