Skip to main content
OlympiadHQ

Browse · MATH

Print

jmc

algebra senior

Problem

Let be integers. For how many ordered triples is ?
Solution
Let . Notice that if , . By symmetry, when as well. Since has degree 3 and is divisible by three linear terms, must factor as where is a constant. Hence, if and only if at least two of are equal.

To count how many triples satisfy this, we count the complement. There are triples where are all distinct, and triples total, so there are triples such that .
Final answer
96