Problem 3
Let be a positive integer and let be a finite set of odd prime numbers. Prove that there is at most one way (up to rotation and reflection) to place the elements of around a circle such that the product of any two neighbours is of the form for some positive integer .
Step 3 of 6: Relate the two roots by Vieta's formulas
Detailed analysis
If and are both good with , then are the (at most two) roots of found above, so Vieta's formulas modulo give and ; since , this forces the exact integer equality .