NumberthonNumberthon

SolveFire POTW

Bronze
number_theory
06/01/2026
Problems sourced from solvefire.net
Problem
For each integer kk with 0≤k<7570\le k<757, reduce k2+k+1k^2+k+1 modulo 757. Let RR be the set of all nonzero residues obtained. Let PP be the product of the elements of RR, where each residue is represented by its least positive integer. Find the least nonnegative residue of PP modulo 757.
Solution ApproachShow

Step-by-step approach

757757 is prime. The values k2+k+1=(k+1/2)2+3/4k^2+k+1=(k+1/2)^2+3/4 trace out a set of residues. Note k2+k+1=k3−1k−1k^2+k+1=\frac{k^3-1}{k-1} for k≠1k\ne1. The set RR consists of residues of k2+k+1k^2+k+1 for k=0,1,…,756k=0,1,\ldots,756. Use properties of the polynomial over F757\mathbb{F}_{757} to compute the product.

Ready for more competition problems?

Practice the full SolveFire course and compete in ranked math battles — free to play.