I came up with a really good algorithm, that is much faster than checking all the divisors - which of course also lets me crack public key encryption.
Hang on - I just need to close the window, there are all these black helicopters overhead ........
(Or look at How can I test for primality?)