@@ -0,0 +1,824 @@
+// https://www.codewars.com/kata/514b92a657cdc65150000006%0A/*%0ADescription:%0A%0AIf we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23.%0A%0AFinish the solution so that it returns the sum of all the multiples of 3 or 5 below the number passed in.%0A%0ANote: If the number is a multiple of both 3 and 5, only count it once.%0A*/%0A%0Apublic class MultiplesOf3and5 %7B%0A%0A  public int solution(int number) %7B%0A    return sumMultiplesBelow(number,3) + sumMultiplesBelow(number,5)%0A      - sumMultiplesBelow(number,15);%0A  %7D%0A  %0A  int sumMultiplesBelow(int number, int multiple) %7B%0A    int largestMultipleBelow = (number - 1) - ((number - 1) %25 multiple);%0A    int quotientOfLMB = largestMultipleBelow / multiple;%0A    return multiple * (quotientOfLMB * (quotientOfLMB + 1) / 2);%0A  %7D%0A%7D%0A

Create MultiplesOf3and5.java