HELLO, I’M SERHAT AND THIS IS MY FANCY TITLE.

Project Euler - Question 3

The prime factors of 13195 are 5, 7, 13 and 29. What is the largest prime factor of the number 600851475143?

package serhat;
import java.util.Scanner;
public class Serhat {
  public static void main(String[] args) {
    {
      Scanner klavye = new Scanner(System.in);
      long a;
      int i=0;
      int[] b;
      b = new int[1500];
      System.out.println("a degerini girin : ");
      a = klavye.nextLong();
      for(i=1;i);
    }
  }
}

Cheers.

Date:
Categories: tech, java

Share this post!


Blog Comments powered by Disqus.