Improved factor-finding algorithms
- only check digits up to n/2, and then calculate its opposite number
- defined pfactors and ntfactors in terms of factors