-1

enter image description here

My Approach

I assumed the prime number of the form $6k+1$ when the prime number is greater than $3$.

$$(6k+1)^3=\frac {216k^3 + 1+108k^2+18k}6.$$Assuming $\color{blue}{k=1}$ I get The answer as $\color{red}{1}$.

Bill Dubuque
  • 272,048
justin takro
  • 1,288

1 Answers1

-1

In fact, any prime $>3,$ can be written as $6k\pm1$

and $(6k\pm1)^3\equiv\pm1\pmod6$ as $6k\pm1\equiv\pm1$