# Factoring a large number.

Is there any kind of theorem, algorithm on factoring a large number into primes and which I could use (the theorem) with a 6-digit number? Thanks.