What is the maximum possible value of the greatest common divisor of two consecutive terms of the sequence a_n = n^2 + n + 1, where n >= 0?