Package net.n1da.dev.euler
Class PE0016
- java.lang.Object
-
- net.n1da.dev.euler.core.Problem
-
- net.n1da.dev.euler.PE0016
-
- All Implemented Interfaces:
Solvable
public class PE0016 extends Problem
Solution for problem 16 "Power digit sum" completed on Thu, 14 May 2015, 20:59.- Since:
- 14.05.2015 20:42:37
- Author:
- Nico Danneberg
- See Also:
- Problem @ Project Euler, Solution @ Ni-Da-Net
-
-
Method Detail
-
solve
public java.lang.String solve()
Runs a loop 1000 times to calculate the wanted power as sum of the power with itself from the iteration before.- Returns:
- the cross total of 21000
- See Also:
LargeNumber
,LargeNumber.sumOfDigits()
-
-