MathDB
equal sets modulo p

Source: Ukraine TST 2009 p6

May 3, 2020
modulonumber theorySetsremainder

Problem Statement

Find all odd prime numbers pp for which there exists a natural number gg for which the sets A={(k2+1)modpk=1,2,,p12}A=\left\{ \left( {{k}^{2}}+1 \right)\,\bmod p|\,k=1,2,\ldots ,\frac{p-1}{2} \right\} and B={gkmodpk=1,2,...,p12}B=\left\{ {{g}^{k}}\bmod \,p|\,k=1,2,...,\frac{p-1}{2} \right\} are equal.