Class AllPowerFinder

  • All Implemented Interfaces:
    PowerFinder

    public class AllPowerFinder
    extends SomePowerFinder
    Algorithm that finds all powers in [pMin, pMax].
    Author:
    Tilman Neumann
    • Constructor Detail

      • AllPowerFinder

        public AllPowerFinder()
    • Method Detail

      • getName

        public String getName()
        Returns:
        algorithm name
      • findPowers

        public TreeSet<PowerEntry> findPowers​(BigInteger kN,
                                              int[] primes,
                                              int[] tArray,
                                              int primeBaseSize,
                                              SieveParams sieveParams)
        Find all powers with pMin < power < pMax.
        Parameters:
        kN -
        primes -
        tArray -
        primeBaseSize -
        sieveParams -
        Returns:
        powers sorted bottom-up by p