In the following, we call a three-element subset {s,t,u}⊂S a balanced triangle if the set {ggT(s,t),ggT(s,u),ggT(t,u)} has exactly two different elements. It is to be shown that there exists a balanced triangle.
Lemma. For pairwise different numbers a,b,c,d∈S, such that ggT(a,b)=ggT(a,c)=ggT(a,d) and ggT(b,d)=ggT(c,d), the set {a,b,c,d} contains a balanced triangle.
Proof. If ggT(a,b)=ggT(b,d), then {a,b,d} is a balanced triangle. Otherwise, either ggT(a,d)=ggT(a,b) or ggT(a,d)=ggT(b,d), so {a,b,c} or {b,c,d} is a balanced triangle.
!
For each element a∈S, let Sa={ggT(a,s)∣s∈S,s=a}. Since this set contains only divisors of a, it is finite. From the assumption, we can choose a∈S such that Sa has at least two elements, otherwise ggT(v,w)=ggT(w,x)=ggT(x,y) would hold.
By the pigeonhole principle, we find an infinite subset T⊂S such that ggT(a,t) is the same value g for all t∈T. Now we choose a d∈S\(T∪{a}) such that ggT(a,d)=g, which must exist due to ∣Sa∣>1. Since Sd is also finite, we find by the pigeonhole principle two different elements b,c∈T such that ggT(b,d)=ggT(c,d). Then a,b,c,d satisfy the conditions of the lemma, so indeed there exists a balanced triangle.