I set the equation to $19 p - 1 = n^3$, then got $19 p =(n+1)(n^2-n+1)$. I don't know what to do now.
2026-04-04 15:08:26.1775315306
Find all primes $p$ for which $19 p - 1$ is a perfect cube
96 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
3
$$ 19p = (n+1)(n^2 - n + 1)$$
Note that $$ gcd(n+1, n^2 - n + 1) = gcd(n+1, (n+1)^2 - 3n) = gcd(n+1, -3n) \in \{1, 3\}$$
Hence we have the following cases:
If $gcd(n+1, n^2 - n + 1) = 1$,
2a.$19 = n+1 \implies p = n^2-n+1 = 307$
2b. $19 = n^2 - n + 1 \implies n^2-n-18 = 0 \implies n=\frac{1\pm\sqrt{73}}{2}$
Hence $\boxed{p = 307}$ (case 2a) is the only solution. $19*307 - 1 = 18^3$