Package net.n1da.dev.euler
Class PE0041
- java.lang.Object
-
- net.n1da.dev.euler.core.Problem
-
- net.n1da.dev.euler.PE0041
-
- All Implemented Interfaces:
Solvable
public class PE0041 extends Problem
Solution for problem 41 "Pandigital prime" completed on Thu, 5 May 2016, 11:05.- Since:
- 05.05.2016 10:51:47
- Author:
- Nico Danneberg
- See Also:
- Problem @ Project Euler, Solution @ Ni-Da-Net
-
-
Method Detail
-
solve
public java.lang.String solve()
It runs over all primes using aSieve
until the maximum possible prime of 7654321. Every found prime is tested to bepandigital
.- Returns:
- the biggest pandigital prime
- See Also:
Mathe.isPandigital(String, int)
,Sieve
-
-