Problem 3 - Find the largest prime factor of a composite number

// June 15th, 2009 // Project Euler

The prime factors of 13195 are 5, 7, 13 and 29.

What is the largest prime factor of the number 600851475143 ?

2 Responses to “Problem 3 - Find the largest prime factor of a composite number”

  1. Bryan says:

    6857

  2. Javier says:

    I forgot to mention that the purpose of the problems is also to show how you arrived at your answer in a programmatic way. Or as my high school math teacher would say “Show your work Mr. Martinez”

Leave a Reply