Andrew Swallow wrote: > Sebastian Gottschalk wrote: > > Gordon Burditt wrote: > > > >> If that's too complicated, please demonstrate how you would use > >> this to factor 32111. Or how about 6? > > > > 6 is a prime, you idiot! Fortunately James' method also works for > > primes, proving their primalty by returning 1 and itself as the only > > factors. > > 6 is not a prime it is 2 * 3 > > Andrew Swallow
My factoring algorithm found 3*2 as well, in under 4 hours.