MathLabs

Problem 6

An ordered pair (x,y)(x,y) of integers is called a primitive point if gcd⁡(x,y)=1\gcd(x,y)=1. Given a finite set SS of primitive points, prove that there exist a positive integer nn and integers a0,a1,…,ana_0,a_1,\ldots,a_n such that for every (x,y)∈S(x,y)\in S, we have a0xn+a1xn−1y+a2xn−2y2+⋯+an−1xyn−1+anyn=1a_0x^n+a_1x^{n-1}y+a_2x^{n-2}y^2+\cdots+a_{n-1}xy^{n-1}+a_ny^n=1.
Step 4 of 8: Prove the crucial coprimality
In plain words

Reduction modulo a prime turns a zero determinant into proportional vectors.

gcd⁡(P(xk,yk),D)=1\gcd(P(x_k,y_k),D)=1
Detailed analysis

Fix a prime pp dividing both P(xk,yk)P(x_k,y_k) and one di=yixk−xiykd_i=y_ix_k-x_iy_k. Since both points are primitive, their reductions modulo pp are nonzero vectors. The zero determinant makes them proportional, so for some nonzero residue λ\lambda we have (xi,yi)≡λq(modp)(x_i,y_i)\equiv\lambda q\pmod p. Homogeneity then gives P(xi,yi)=1P(x_i,y_i)=1 ≡λnP(xk,yk)≡0(modp)\equiv\lambda^nP(x_k,y_k)\equiv0\pmod p, a contradiction. Therefore no prime divides both P(xk,yk)P(x_k,y_k) and any di=yixk−xiykd_i=y_ix_k-x_iy_k, so gcd⁡(P(xk,yk),D)=1\gcd(P(x_k,y_k),D)=1.