1

Which is the largest integer $n<1000$ so that $n$, $n+2$ and $n+4$ are primes?

I have tried to solve this problem but have not reached an argument worth

Will Jagy
  • 139,541

2 Answers2

8

n = 3, because for any larger n, one of them is divisible by 3.

marty cohen
  • 107,799
2

Observe the following. If $n$ is prime, let it be $1$ mod $3$. Then $n+2$ will be divisible by $3$. If it is $2$ mod $3$, $n+4$ will be divisible by $3$. Therefore the only solution is if $n=3$. i.e. $3,5,7$ is the sequence you are after.

Gautam Shenoy
  • 10,318