MathLabs

Problem 3

Let kk be a positive integer and let SS 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 SS around a circle such that the product of any two neighbours is of the form x2+x+kx^2+x+k for some positive integer xx.
Step 2 of 6: A quadratic congruence has at most two roots mod pp
T2+T+k≡0(modp)T^2+T+k\equiv0\pmod p
Detailed analysis

If pp is an odd prime and pq=x2+x+kpq=x^2+x+k is good for a prime q<pq<p with 0≤x<p0\le x<p, then xx solves T2+T+k≡0(modp)T^2+T+k\equiv0\pmod p; since this quadratic congruence over the field Z/pZ\mathbb{Z}/p\mathbb{Z} has at most two roots, at most two primes q<pq<p can make pqpq good.