Start New Discussion within our Software Development Community
def biggest_factor(number):
    factor = 2
    while not (number % factor) and number > factor:
        number /= factor
    factor = 3
    limit = factor * factor
    while limit <= number:
        while not (number % factor) and number > factor:
            number /= factor
            #print factor,number
        limit += 4*(factor+1)
        factor += 2
    return number

print biggest_factor(600851475143)

Specialties:
IT/Science/Contracts/Religious translation/interpreting FIN-ENG-FIN
Python programming

The article starter has earned a lot of community kudos, and such articles offer a bounty for quality replies.