\(D=\sqrt{\left(a^2+6a\right)\left(a^2+6a+5\right)\left(a^2+6a+8\right)+36}\)
Đặt a^2+6a=x
=>\(D=\sqrt{x\left(x+5\right)\left(x+8\right)+36}\)
\(=\sqrt{x\left(x^2+13x+40\right)+36}\)
\(=\sqrt{x^3+13x^2+40x+36}\)
=>\(D=\sqrt{x^3+9x^2+4x^2+36x+4x+36}\)
\(=\sqrt{\left(x+9\right)\left(x^2+4x+4\right)}\)
\(=\sqrt{\left(a^2+6a+9\right)\left(x+2\right)^2}\)
=|a+3|*|x+2| là số nguyên