Đặt \(13p+1=n^3\left(n\in N\right)\)
\(\Leftrightarrow13p=n^3-1\)
\(\Leftrightarrow13p=\left(n-1\right)\left(n^2+n+1\right)\)
Trường hợp 1: \(n-1=13\forall n^2+n+1=p\)
\(\Leftrightarrow n=14\)
hay \(p=14^2+14+1=196+14+1=211\)(nhận)
Trường hợp 2: \(n-1=p\forall n^2+n+1=p\)
\(\Leftrightarrow n^2+2=13-p\)
\(\Leftrightarrow\left(p+1\right)^2=11-p\)
\(\Leftrightarrow p=2\)(nhận)
Vậy: \(p\in\left\{2;211\right\}\)