Hi I wrote this program in response to the following question:
"What is the largest prime factor of the number 600851475143?"
The program works for "composite" equal to 13195, but it does not work if I set it equal to 600851475143.
Why does this happen?
composite = 600851475143
for m in range (2,composite):
    while composite % m == 0:
        if composite / m == 1:
            break
        else:
            composite = composite / m
print(composite)
 
     
    