I could, but I think the `sqrt` will be faster on large numbers than the multiply, but I could be wrong. I threw in the `i > num` check to short circuit just in case.

It's not really a big deal either way, so I think I'll keep it.