Take $$ p = n^3 + 1 $$
I just realised, checking some numbers, that this only occurs for $n=1$. I was wondering if there is some general proof for this?
Take $$ p = n^3 + 1 $$
I just realised, checking some numbers, that this only occurs for $n=1$. I was wondering if there is some general proof for this?
You can factorize $n^3+1$, so: $$ p= (n+1)(n^2-n+1)$$ so $n+1 = 1$ (so $n=0$) or $n^2-n+1=1$ (so $n(n-1)=0$...)