Williams, K. S. “3 As a Ninth Power (mod $p$)”. MATHEMATICA SCANDINAVICA, vol. 35, June 1974, pp. 309-17, doi:10.7146/math.scand.a-11555.