Problem

Source: China TST 1999, problem 2

Tags: number theory, prime numbers, number theory unsolved



Find all prime numbers $p$ which satisfy the following condition: For any prime $q < p$, if $p = kq + r, 0 \leq r < q$, there does not exist an integer $q > 1$ such that $a^{2} \mid r$.