Why is $$gcd(2n-1, 2n^2-1) = 1$$ ?
My first idea is, that $$2n^2-1 = n^2 + (n-1)(n+1) $$ and $$2n-1 = n + (n-1)$$
But I can't make use of this. This seems to have something to do with polynomials, I gues.
Why is $$gcd(2n-1, 2n^2-1) = 1$$ ?
My first idea is, that $$2n^2-1 = n^2 + (n-1)(n+1) $$ and $$2n-1 = n + (n-1)$$
But I can't make use of this. This seems to have something to do with polynomials, I gues.
On
Mark $d=gcd(2n-1,2n^2-1)$.
Then $d|2n^2-1$ and $d|2n-1$. From second we get $d|(2n-1)n =2n^2-n$ so $$d|(2n^2-1)-(2n^2-n) =n-1$$ So we have $d|2n-2$ and now we have $$d|(2n-1)-(2n-2) =1$$ and we are done.
$$gcd(2n-1,2n^2-1)=gcd(2n-1,2n^2-2n)=gcd(2n-1,2n(n-1))=1$$ Because $$gcd(2n-1,2)=gcd(2n-1,n)=gcd(2n-1,n-1)=gcd(n,n-1)=1.$$