Problem 570: (1999 AIME, 1)
Find the smallest prime that is the fifth term of an increasing arithmetic sequence, all four preceding terms also being prime.
- Let the primes be $p,p+d,p+2d,p+3d,p+4d$. If $d$ were odd, two consecutive terms would include an even number larger than $2$. So $d$ is even, and then $p\ne2$ (or $p+d$ would be even).
- If $3\nmid d$, the terms $p,p+d,p+2d$ have different remainders mod $3$, so one of them is a multiple of $3$; it must be $3=p$, but then $p+3d$ is a multiple of $3$ larger than $3$. So $6\mid d$.
- The fifth term is $p+4d\ge5+24=29$, and $5,11,17,23,29$ are all prime.
- The answer is $\boxed{029}$.
Find the smallest prime that is the sixth term of an increasing arithmetic sequence, all five preceding terms also being prime.