Problem 575: (2015 AIME I, 3)
There is a prime number $p$ such that $16p+1$ is the cube of a positive integer. Find $p$.
- $16p=n^3-1=(n-1)(n^2+n+1)$, and $n^2+n+1=n(n+1)+1$ is odd. So $16\mid n-1$.
- Since $n^2+n+1>1$, the only possibility is $n-1=16$ and $n^2+n+1=p$, i.e.\ $n=17$ and $p=17^2+17+1=307$, which is prime.
- Check: $16\cdot307+1=4913=17^3$. The answer is $\boxed{307}$.
There is a prime number $p$ such that $26p+1$ is the cube of a positive integer. Find $p$.