Problem

Source:

Tags: number theory



Find all prime numbers $p$ for which $3^p-(p+2)^2$ is also prime.