I need to find all $n\in\mathbb{Z}$ so that $3n-4$ and $n^2+1$ would be coprime numbers.
I was thinking about using Euclidean algorithm - if two numbers $a$ and $b$ are coprime, then exist integers $c$ and $d$: $ac+bd=1$. So if there do not exist integers $c$ and $d$, then my numbers won’t be coprime.
Another idea is checking some $n$, what I saw is that when $n=3$ or $-2$, the common factor is $5$. Maybe it is always related to number $5$?
And the last thing, always one number is even and another is odd. So their common factor is either $1$, or bigger than $2$.
Any better ideas? :)