Problem

Source: Taiwan 3rd TST 2005, 1st independent study, problem 2

Tags: number theory proposed, number theory



Find all primes $p$ such that the number of distinct positive factors of $p^2+2543$ is less than 16.