Teensy Problems: Coprime Labeling
Let $G$ be a graph with $n$ vertices. We say a graph is coprimely labeled if its vertices are labeled using all the integers from 1 to $n$ in such a way where, if any two vertices have an edge between them, their labels are coprime; that is, they share no common factors.
For example, the graph depicted below is coprimely labeled. Note that we do not need every edge between vertices with coprime labels to be present (e.g. an edge connecting 2 & 3), but we cannot have any edges which connect vertices whose labels share a common factor (e.g. an edge connecting 2 & 4).
Prove that any graph with more than $\binom{n}{2} - \binom{\lfloor n/2 \rfloor}{2}$ edges cannot be coprimely labeled.
I recommend trying to build your way up to this result yourself (and, perhaps, actually prove a stronger condition!), but I won’t kid about it being a veritable exercise. If you want some prior scaffolding, here’s one approach: