Problem

Source: 2018 China North Mathematical Olympiad Grade 10 Test 1 P3

Tags: number theory, China



Let $p$ be a prime such that $3|p+1$. Show that $p|a-b$ if and only if $p|a^3-b^3$