6. Find the greatest possible value of $\gcd(x+2015 y, y+2015 x)$, given that $x$ and $y$ are coprime numbers.
Answer: $2015^{2}-1=4060224$. Solution. Note that the common divisor will also divide $(x+2015 y)-2015(y+2015 x)=\left(1-2015^{2}\right) x$. Similarly, it divides $\left(1-2015^{2}\right) y$, and since $(x, y)=1$, it divides $\left(1-2015^{2}\right)$. On the other hand, if we take $x=1, y=2015^{2}-2016$, then we get $\gcd(x+2015 y, y+2015 x)=2015^{2}-1$.