Lehman's Factoring Method