Step 1: Matrix Representation
The quadratic form \( Q(X) \) can be written in matrix form as: \[ Q(X) = X^T M X, \] where \( M \) is the symmetric matrix associated with the quadratic form. We need to compute the matrix \( M \) and the limit of the sequence defined by \( a_n \).
Step 2: Matrix Computation
We compute the matrix \( M \) corresponding to the quadratic form. The matrix \( M \) will be a symmetric matrix with entries corresponding to the coefficients of the quadratic form \( Q(X) \). \[ M = \begin{pmatrix} 2 & 2 & 1 \\ 2 & 2 & 1 \\ 1 & 1 & 3 \end{pmatrix}. \] Step 3: Analyzing the Limit
The expression for \( a_n \) involves powers of the matrix \( M + I_3 \), where \( I_3 \) is the identity matrix. As \( n \) tends to infinity, the powers of \( M + I_3 \) will converge, and the ratio \( a_n \) will approach the eigenvalue of the matrix \( M + I_3 \) with the largest magnitude. The largest eigenvalue of \( M + I_3 \) is \( 6 \). Step 4: Conclusion
Thus, \( \lim_{n \to \infty} a_n = 6 \). \[ \boxed{6} \]