Determine all positive integers $n$ with at least 4 factors such that $n$ is the sum of the squares of its 4 smallest factors.

Let's think step by step and output the final answer within \boxed{}.
user