Problem 3
Let be a convex polygon in the plane. The vertices have integer coordinates and lie on a circle. Let be the area of . An odd positive integer is given such that the square of the length of each side of is an integer divisible by . Prove that is an integer divisible by .
Step 3 of 5: Rewriting the relation with square roots of rationals
In plain words
Each term of the Ptolemy relation is, after squaring the numerator (a squared side length divisible by ) and denominator (a product of two radii), a square root of a positive rational number.
Detailed analysis
Each term can be rewritten using as where is a positive rational number (since all coordinates, hence all squared distances, are rational — indeed integers). Likewise the right-hand side is for a positive rational . So the identity becomes .