2024 DMC Mock 10 Problems/Problem 8

Revision as of 20:03, 16 September 2024 by Pateywatey (talk | contribs) (Created page with "Note the identity <math>a^2+b^2+c^2-ab-ba-ca=\frac{(a-b)^2+(b-c)^2+(c-a)^2}{2}</math>. Substituting in the values, we see that the expression is <math>\frac{3^2+4^2+7^2}{2}=\b...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Note the identity $a^2+b^2+c^2-ab-ba-ca=\frac{(a-b)^2+(b-c)^2+(c-a)^2}{2}$. Substituting in the values, we see that the expression is $\frac{3^2+4^2+7^2}{2}=\boxed{37}$. Alternatively, notice that the expression is 2\pmod{5}, so the answer must be $\boxed{B}$.