Function maxPrimeFactor

  • Find the greatest prime number which divides a number.

    Parameters

    • x: number

      a number

    Returns number

    greatest prime factor

Generated using TypeDoc