Đặt \(\left(7n+3,8n-1\right)=d\).
\(\Rightarrow\hept{\begin{cases}7n+3⋮d\\8n-1⋮d\end{cases}\Rightarrow\hept{\begin{cases}8\left(7n+3\right)⋮d\\7\left(8n-1\right)⋮d\end{cases}}}\Rightarrow8\left(7n+3\right)-7\left(8n-1\right)=31⋮d\)
\(\Rightarrow\orbr{\begin{cases}d=1\\d=31\end{cases}}\).
Hai số đã cho nguyên tố cùng nhau khi \(\hept{\begin{cases}7n+3⋮̸31\\8n-1⋮̸31\end{cases}}\)\(\Rightarrow n\ne\frac{31k-3}{7},\left(k\inℤ\right)\)
eey ...............................................................................................
llllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll
kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkiiiioooooooooooô