Suppose that x,y,z are positive integers satisfying x is less than or equal to y is less than or equal to z, and such that the product of all three numbers is three times their sum. What is the sum of all possible values of z?
159 167 235 333 Total = 4
9 + 7 + 5 + 3==24 sum of "z's"
Is the answer supposed to make any sense? ... Edit: Catmeg has explained and I will take a look with fresh eyes.
When you use C++ or any other non-obvious aid to answer questions could you please state that you have done so.
It will cut down on confusion.