Sorry, I meant that I am only looking for factors of the target number (the big 193 digit one) in numbers that are 97 digits long or less. Every time I find a prime I am dividing it into the main number (the big one) and seeing if it divides evenly. When I find the prime that does, I'm having the program write the other factor (whatever the big number divided by the prime is) into a text file and stopping. This way I have both factors.
|