@@ -0,0 +1,549 @@
+/*%0A * Largest prime factor%0A * %0A * Problem 3%0A * %0A * The prime factors of 13195 are 5, 7, 13 and 29.%0A * What is the largest prime factor of the number 600851475143 ?%0A *%0A * Expected result: 6857%0A */%0Apublic class P3%7B%0A    %0A    public static void main(String%5B%5D args)%7B%0A        %0A        long factor = 2;%0A        long number = 600851475143L;%0A        %0A        for(long i = 2; i%3C=number; i++)%7B%0A            while(number%25i == 0)%7B%0A                factor = i;%0A                number /= i;%0A            %7D%0A        %7D%0A        System.out.println(factor);        %0A    %7D%0A%7D

add Euler3.java