LargestPrimeFactorDriver.java 218 B

1234567
  1. public class LargestPrimeFactorDriver {
  2. public static void main(String[] args) {
  3. LargestPrimeFactor number = new LargestPrimeFactor(600851475143L);
  4. System.out.println( number.getLargestPrimeFactor() );
  5. }
  6. }