Package net.n1da.dev.euler
Class PE0005
- java.lang.Object
-
- net.n1da.dev.euler.core.Problem
-
- net.n1da.dev.euler.PE0005
-
- All Implemented Interfaces:
Solvable
public class PE0005 extends Problem
Solution for problem 5 "Smallest multiple" completed on Thu, 9 Apr 2015, 06:27.- Since:
- 09.04.2015 06:19:38
- Author:
- Nico Danneberg
- See Also:
- Problem @ Project Euler, Solution @ Ni-Da-Net
-
-
Method Detail
-
solve
public java.lang.String solve()
There is no real program needed to solve this problem. I've just test all numbers form 1 to 20 and delete every number that can be replaced by a number that have the same factors. The numbers that finally stay are multiplied.- Returns:
- the smallest multiple
-
-