Problem

Source: Turkey National Olympiad 2002 - D2 - P1

Tags: modular arithmetic, quadratics, number theory, prime numbers, number theory unsolved



Find all prime numbers $p$ for which the number of ordered pairs of integers $(x, y)$ with $0\leq x, y < p$ satisfying the condition \[y^2 \equiv x^3 - x \pmod p\] is exactly $p.$