Denote the vertices of the polygon as V1,…,Vn and let the real numbers in these vertices be v1,v2,…,vn, respectively. Moreover, denote Vn+1=V1 and vn+1=v1. Define the value of the side ViVi+1 of the polygon to be si=vi+1−vi.
Observe that v1,…,vn satisfy the conditions of the problem if and only if the corresponding differences s1,…,sn satisfy max{∣s1∣,…,∣sn∣}≤1 and s1+⋯+sn=0. Therefore the problem can be reformulated as finding the least non-negative real number C such that, for arbitrary real numbers s1,…,sn, assumptions max{∣s1∣,…,∣sn∣}≤1 and s1+⋯+sn=0 would imply min{∣s1∣,…,∣sn∣}≤C.
Clearly min{∣s1∣,…,∣sn∣}≤1 for any choice of s1,…,sn satisfying the assumptions. If n=2k for some k∈N then choosing s1=⋯=sk=1 and sk+1=⋯=s2k=−1 would imply min{∣s1∣,…,∣sn∣}=1. Hence C=1.
Let now be n=2k+1 for some k∈N. Taking s1=s2=⋯=sk+1=k+1k and sk+2=⋯=s2k+1=−1 establishes min{∣s1∣,…,∣sn∣}=k+1k. We show that min{∣s1∣,…,∣sn∣}≤k+1k whenever s1,…,sn satisfy the assumptions. To this end, suppose the contrary, i.e. min{∣s1∣,…,∣sn∣}>k+1k. Reorder s1,…,sn as d1,…,dn so that d1≥d2≥⋯≥dn. Note that there exists l∈{1,…,n} such that dl>k+1k and dl+1<−k+1k.
If l≥k+1 then
0=s1+⋯+sn=d1+⋯+dn≥l⋅dl+(n−l)dn>l⋅k+1k−(n−l)≥(k+1)⋅k+1k−k=k−k=0,
contradiction. In the case l<k+1, the proof is analogous (one can consider the opposite differences −dn,−dn−1,…,−d1). Hence C=k+1k=⌊2n⌋+1⌊2n⌋.