MathDB
remainders are equal

Source: 239 Open MO, 2012, Junior League, Problem 1

April 4, 2023
number theory

Problem Statement

Given a prime number pp. A positive integer xx is divided by pp with a remainder, and the number p2p^2 is divided by xx with a remainder. The remainders turned out to be equal. Find them
Proposed by Sergey Berlov