I have come upon the trivariate polynomial $A^2+B^2+C^2-2AB-2AC-2BC$ and want to factor it. Because of the symmetry, I am wondering if it can be a perfect square or if there is some other nice factorization.