@@ -0,0 +1,497 @@
+import java.math.BigInteger;%0A%0Apublic class factorial_sum %7B%0A%09public static void main(String%5B%5D args) %7B%0A%09%09String digits = permute(100).toString();%0A%09%09int total = 0;%0A%09%09for (int i=0; i%3Cdigits.length(); i++) %7B%0A%09%09%09total += Integer.parseInt(digits.substring(i, i+1));%0A%09%09%7D%0A%09%09System.out.println(total);%0A%09%7D%0A%0A%09public static BigInteger permute(int num) %7B%0A%09%09BigInteger returnMe = BigInteger.ONE;%0A%09%09for (int i=2; i%3C= num; i++) %7B%0A%09%09%09returnMe = returnMe.multiply(BigInteger.valueOf(i));%0A%09%09%7D%0A%09%09return returnMe;%0A%09%7D%0A%7D%0A

factorial sum: java