Class KnuthSchroeppel


  • public class KnuthSchroeppel
    extends Object
    Computation of the Knuth-Schroeppel multiplier k for the quadratic sieve. Most often the algorithm finds k with kN == 1 (mod 8), but kN == 3,5,7 (mod 8) are possible, too. Most "best k" are prime, but we also find composite and 1.
    Author:
    Tilman Neumann
    • Constructor Detail

      • KnuthSchroeppel

        public KnuthSchroeppel()
    • Method Detail

      • computeMultiplier

        public int computeMultiplier​(BigInteger N)
        Compute Knuth-Schroeppel multiplier k for N.
        Parameters:
        N -
        Returns:
        k