Find the number of positive integers less than $1000$ of the form
$$\frac{(x+y+z)^2}{xyz}$$
where $x,y,z$ are positive integers.
Usually I have lots of ideas on how to solve a problem, and I include them in the post to show that I have thought a bit about the problem and so that others can build off my ideas if possible. But on this problem I must admit I am stuck. I can think of two possible approaches: (1) treat this as a Diophantine equation to characterize all triples $(x,y,z)$ such that $xyz|(x+y+z)^2$, or (2) to play around with the problem, try to find a class of numbers that are representable. I have made only trivial observations: If $n$ is representable, then scaling $x,y,z$ gives that all factors of $n$ are also representable. Also, if a prime $p|x$ and $p|y$ then $p|z$, so we may assume that $x,y,z$ are pairwise relatively prime. I believe bounding the numerator or denominator may be the way to solve this.