For n > 1, find the two smallest integer values of n such that x^2 + x + 1 is a factor of (x + 1)^n - x^n - 1.