The sum of all the positive factors of integer $x$ is 24. If one of the factors is 3, what is the value of $x$?
x = 15
The factors of 15 are
1 3 5 15
And these sum to 24