@@ -0,0 +1,768 @@
+class Main%0A%7B%0A  public static void main(String %5B%5D args)%0A  %7B%0A    boolean dummy;%0A    dummy = new Util().test(11, 11);%0A    dummy = new Util().test(17, 17);%0A  %7D%0A%7D%0A%0Aclass Util%0A%7B%0A  //list factors for a range of numbers%0A  public boolean test(int first, int last)%0A  %7B%0A    boolean dummy;%0A    while(first %3C last + 1)%0A    %7B%0A      dummy = this.listFactors(first);%0A      first = first + 1;%0A    %7D%0A    return true;%0A  %7D%0A%0A  //list all factors in 'val'%0A  public boolean listFactors(int val)%0A  %7B%0A    int i;%0A    int j;%0A%0A    i = 1;%0A    while(i %3C val)%0A    %7B%0A      j = 1;%0A      while(j %3C val + 1)%0A      %7B%0A        if(!(i * j %3C val) && !(val %3C i * j))%0A        %7B%0A          System.out.println(i);%0A        %7D%0A        else %7B%7D%0A        j = j + 1;%0A      %7D%0A      i = i + 1;%0A    %7D%0A    return true;%0A  %7D%0A%7D%0A

Add executable test.