MathLabs

Problem 3

Let P=A1A2⋯AkP=A_1A_2\cdots A_k be a convex polygon in the plane. The vertices A1,A2,…,AkA_1,A_2,\dots,A_k have integer coordinates and lie on a circle. Let SS be the area of PP. An odd positive integer nn is given such that the square of the length of each side of PP is an integer divisible by nn. Prove that 2S2S is an integer divisible by nn.
Step 1 of 5: Reduce to prime powers, and settle the triangle case
In plain words

It suffices to check each odd prime power dividing nn separately, and for a triangle the symmetric form of Heron's formula makes the divisibility visible term by term.

S=142a2b2+2b2c2+2c2a2−a4−b4−c4S=\tfrac14\sqrt{2a^2b^2+2b^2c^2+2c^2a^2-a^4-b^4-c^4}
Detailed analysis

It suffices to prove the statement for n=pen=p^e, pp an odd prime, e≥1e\ge1 (the general odd nn then follows since the 2S2S-divisibility by each prime power factor of nn combines to divisibility by nn). For k=3k=3 (a triangle with sides a,b,ca,b,c), Heron's formula in symmetric form gives S=142a2b2+2b2c2+2c2a2−a4−b4−c4S=\tfrac14\sqrt{2a^2b^2+2b^2c^2+2c^2a^2-a^4-b^4-c^4}, so 16S2=2a2b2+2b2c2+2c2a2−a4−b4−c416S^2=2a^2b^2+2b^2c^2+2c^2a^2-a^4-b^4-c^4. If pe∣gcd⁡(a2,b2,c2)p^e\mid\gcd(a^2,b^2,c^2) then pep^e divides each a2,b2,c2a^2,b^2,c^2, so p2ep^{2e} divides every term on the right, hence p2e∣16S2p^{2e}\mid16S^2, and since pp is odd this gives p2e∣S2p^{2e}\mid S^2 up to the factor of 16=2416=2^4 which contributes no odd prime, so pe∣2Sp^e\mid 2S.