Problem

Source: IMO 2022 Problem 3

Tags: number theory, prime numbers, IMO, IMO 2022



Let $k$ be a positive integer and let $S$ 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 $S$ around the circle such that the product of any two neighbors is of the form $x^2+x+k$ for some positive integer $x$.