find all x such that x^3-x+1 is congruent to 0 mod 6.
i tried but it seems like there is no x


A little observation should tell you thatis always odd and therefore can never be divisible by
![]()
If you delve further, you havea product of three consecutive integers – this is always divisible by
because it always contains exactly one multiple of
and at least one multiple of
Hence
for all
![]()