We may consider formulating a proof by contradiction.
Assume $\gcd(n^2+1,n!+1)=p$, then $p|(n^2+1)$ and $p|(n!+1)$.
Hence, we can conclude $n<p<n^2+1$ .
Can we go on from here?
We may consider formulating a proof by contradiction.
Assume $\gcd(n^2+1,n!+1)=p$, then $p|(n^2+1)$ and $p|(n!+1)$.
Hence, we can conclude $n<p<n^2+1$ .
Can we go on from here?