@@ -0,0 +1,796 @@
+import java.util.stream.IntStream;%0A%0Apublic class RuthAaron %7B%0A%0A    public static void main(String%5B%5D args) %7B%0A        System.out.println(new RuthAaron().check(714, 715));%0A        System.out.println(new RuthAaron().check(77, 78));%0A        System.out.println(new RuthAaron().check(20, 21));%0A    %7D%0A%0A    boolean check(int first, int second) %7B%0A        return sumOfPrimeFactors(first) == sumOfPrimeFactors(second);%0A    %7D%0A%0A    private int sumOfPrimeFactors(int n) %7B%0A        return IntStream.rangeClosed(2, n / 2)%0A                .filter(i -%3E isPrime(i) && n %25 i == 0)%0A                .sum();%0A    %7D%0A%0A    private boolean isPrime(int number) %7B%0A        for (int i = 2; i %3C number / 2; i++) %7B%0A            if (number %25 i == 0) %7B%0A                return false;%0A            %7D%0A        %7D%0A        return true;%0A    %7D%0A%7D%0A

Add Ruth-Aaron