Projecteuler.net – Problem 3 – C solution

http://projecteuler.net/problem=3

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

What is the largest prime factor of the number 600851475143 ?


Same as my Python solution, brute forced and the result is basically instant. No need for a fancy algorithm here.

– Josh

This entry was posted in C, Project Euler. Bookmark the permalink.

Leave a Reply