-2

This is what I've begun with:

So lets say $x=n,y=nk+1,x,y,n\in\Bbb Z$ Lets say we have a integer, d that divides both x and y. So, $d\vert x$ and $d\vert y$ so if there is a gcd, then d must also divide y-x. $d\vert(y-x)$ but we said $x=n,y=nk+1$. Then, $d\vert(nk+1-n)$=$d\vert (n(k-1)+1)$. But I have no idea if I'm heading in the right direction? Any tips?

Bill Dubuque
  • 272,048
Eun
  • 1

1 Answers1

0

Let $p\mid n$ and $p\mid nk+1$. Then $n=pq$ and $nk+1=pr$ for some $q,r\in\mathbb Z$. Therefore \begin{align*} nk+1=kpq+1=pr&\implies p(r-kq)=1\\ &\implies p\mid 1. \end{align*}

Surb
  • 55,662