How do you factor this?

There are three natural numbers $$n$$ for which $$n^{2}-7n+7$$ is a perfect square. What's the sum of those three numbers $$n$$?

Hint: $$28=49-21$$.

×