If you don't understand trial division then here is the link: http://en.wikipedia.org/wiki/Trial_division
No download links available.