Homework Help

Show that for every x ∈ Z there exists m ∈ N such that gcd (x^2 − x + 1, x^4 − 1) = 3^m