MathDB
China South East Mathematical Olympiad 2021 Grade11 P2

Source:

July 28, 2021
number theoryprime numbers

Problem Statement

Let p5p\geq 5 be a prime number, and set M={1,2,,p1}.M=\{1,2,\cdots,p-1\}. Define T={(n,xn):pnxn1 and n,xnM}.T=\{(n,x_n):p|nx_n-1\ \textup{and}\ n,x_n\in M\}. If (n,xn)Tn[nxnp]k(modp),\sum_{(n,x_n)\in T}n\left[\dfrac{nx_n}{p}\right]\equiv k \pmod {p}, with 0kp1,0\leq k\leq p-1, where [α]\left[\alpha\right] denotes the largest integer that does not exceed α,\alpha, determine the value of k.k.