Click or drag to resize

PrimeNumberMathPrimeFactorization Method

Computes the prime factorization of x.

Namespace: Altaxo.Calc
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntax
C#
public static List<PrimeFactor> PrimeFactorization(
	long x
)

Parameters

x  Int64
The number to factor (must be >= 1).

Return Value

ListPrimeFactor
A list of prime factors (prime, power).
Exceptions
ExceptionCondition
NotImplementedExceptionThrown if x is less than or equal to 0.
See Also