Advertisement
Guest User

Untitled

a guest
Jun 27th, 2017
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.22 KB | None | 0 0
  1. public class Fibo {
  2.     public static void main(String[] args) {
  3.         long asdf = 600851475143L, max2;
  4.         for(max2=2;max2<=asdf;max2++)   {
  5.             while(asdf%max2 == 0) {
  6.                 asdf /= max2;
  7.                 System.out.println(max2);
  8.             }
  9.         }
  10.     }
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement