Problem

Source: 2022 Tournament of towns Spring A level Junior

Tags: number theory, Tournament of Towns



Find the largest positive integer $n$ such that for each prime $p$ with $2<p<n$ the difference $n-p$ is also prime.