View Single Post
Old 03-15-2005, 06:02 AM   #13 (permalink)
vinaur
Insane
 
So are you going to eventually go through a bunch of primes and try to divide the given number by those primes???

Wombatman: you said that you split up the number into two parts and are working with the lower part. Well, when you do find the number that is a factor of the first half, it does not necessarily mean that it will also be a factor of the whole thing. You would have to test the factor against the whole number to determine whether it really is a factor. I was thinking more of the other way around. You look at the higher part first and when you find a factor, you check it against the lower part.

Last edited by vinaur; 03-15-2005 at 06:08 AM..
vinaur is offline  
 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54